diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 74055fd..8b23436 100755 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -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); diff --git a/src/routes.ts b/src/routes.ts index de38b8e..9e57abc 100755 --- a/src/routes.ts +++ b/src/routes.ts @@ -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";