Now loading user in a wrapper for the app, added loading screen

This commit is contained in:
Carter 2024-10-29 11:13:51 -06:00
parent 864b7b0689
commit eafb88ebfc
8 changed files with 734 additions and 66 deletions

View file

@ -3,7 +3,7 @@ import UserProvider, { useUserAPI } from "./userAPI";
export const pondURL = (partial: string, demo: boolean = false): string => {
let url = import.meta.env.VITE_APP_API_URL + (demo ? "/demo" : "") + partial;
console.log(url)
// console.log(url)
// if (isStaging()) url = process.env.REACT_APP_STAGING_API_URL + (demo ? "/demo" : "") + partial;
return url;
};