fix always reload payment page

This commit is contained in:
gofnnp 2024-04-16 22:49:07 +04:00
parent 5647a51669
commit 782dd0fb51
2 changed files with 3 additions and 3 deletions

View File

@ -989,8 +989,8 @@ function ShortPathOutlet(props: IShortPathOutletProps): JSX.Element {
error: "Something went wrong", 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); const { data, isPending } = useApiCall(loadData);

View File

@ -6,7 +6,7 @@ const host = "";
export const apiHost = "https://api-web.aura.wit.life"; export const apiHost = "https://api-web.aura.wit.life";
const dApiHost = isProduction const dApiHost = isProduction
? "https://api.aura.witapps.us" ? "https://api.aura.witapps.us"
: "https://dev.api.witapps.us"; : "https://dev.api.aura.witapps.us";
// const dApiHost = "https://d.api.witapps.us"; // const dApiHost = "https://d.api.witapps.us";
const siteHost = "https://aura.wit.life"; const siteHost = "https://aura.wit.life";
const prefix = "api/v1"; const prefix = "api/v1";