new next version, new style to barnavigation and no hardcode
This commit is contained in:
@@ -3,7 +3,7 @@ import Cookies from "js-cookie";
|
||||
import { envConfig } from "./config";
|
||||
|
||||
if (!envConfig.apiUrl) {
|
||||
throw new Error("API URL is not defined in envConfig");
|
||||
console.error("API URL is not defined in envConfig");
|
||||
}
|
||||
|
||||
const apiClient = axios.create({
|
||||
|
||||
Reference in New Issue
Block a user