fix always reload payment page
This commit is contained in:
parent
5647a51669
commit
782dd0fb51
@ -989,8 +989,8 @@ function ShortPathOutlet(props: IShortPathOutletProps): JSX.Element {
|
||||
error: "Something went wrong",
|
||||
};
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [token, user?.email]);
|
||||
|
||||
const { data, isPending } = useApiCall(loadData);
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ const host = "";
|
||||
export const apiHost = "https://api-web.aura.wit.life";
|
||||
const dApiHost = isProduction
|
||||
? "https://api.aura.witapps.us"
|
||||
: "https://dev.api.witapps.us";
|
||||
: "https://dev.api.aura.witapps.us";
|
||||
// const dApiHost = "https://d.api.witapps.us";
|
||||
const siteHost = "https://aura.wit.life";
|
||||
const prefix = "api/v1";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user