update
This commit is contained in:
@ -2,7 +2,7 @@ interface apiConfigProps {
|
||||
service_dashboard: string;
|
||||
service_customer: string;
|
||||
service_master_data: string;
|
||||
service_master_data2: string;
|
||||
// service_master_data2: string;
|
||||
service_transaction: string;
|
||||
service_wallet: string;
|
||||
transaction: string;
|
||||
@ -19,7 +19,7 @@ const apiConfig: apiConfigProps = {
|
||||
// service_dashboard: `${API_URL}${import.meta.env.VITE_ENV != 'development' ? '/d' : ''}`,
|
||||
service_dashboard: `${API_URL}/d`,
|
||||
service_customer: `${API_URL}/c`,
|
||||
service_master_data2: `${API_URL}/m`,
|
||||
// service_master_data2: `${API_URL}/m`,
|
||||
service_master_data: `${API_URL}/t`,
|
||||
service_transaction: `${API_URL}/tt`,
|
||||
service_wallet: `${API_URL}/w`,
|
||||
|
||||
@ -44,7 +44,7 @@ const initialProps: ContextProps = {
|
||||
const AccountUserProfileContext = createContext<ContextProps>(initialProps);
|
||||
|
||||
const API_URL = apiConfig.service_dashboard;
|
||||
const API_URL2 = apiConfig.service_master_data2;
|
||||
const API_URL2 = apiConfig.service_customer;
|
||||
|
||||
const AccountUserProfileContextProvider = ({ children }: { children: React.ReactNode }) => {
|
||||
const { login } = useAuthContext();
|
||||
|
||||
Reference in New Issue
Block a user