Loading mobile/app/_layout.tsx +0 −8 Original line number Diff line number Diff line Loading @@ -45,14 +45,6 @@ const MainLayout = () => { console.log("Profile Loading: ", profileLoading); }, [isLoading, profileLoading]); if (isLoading || profileLoading) { return ( <ActivityIndicator color={isLoading ? "red" : profileLoading ? "blue" : "green"} /> ); } return ( <Stack initialRouteName="(tabs)"> <Stack.Screen Loading mobile/src/auth/contexts/auth_context.tsx +8 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,14 @@ export const AuthContextProvider = ({ children }: AuthContextProviderProps) => { useEffect(() => { checkSession(); const timeout = setTimeout(() => { if (isLoading) { setIsLoading(false); } }, 3000); return () => clearTimeout(timeout); }, []); return ( Loading Loading
mobile/app/_layout.tsx +0 −8 Original line number Diff line number Diff line Loading @@ -45,14 +45,6 @@ const MainLayout = () => { console.log("Profile Loading: ", profileLoading); }, [isLoading, profileLoading]); if (isLoading || profileLoading) { return ( <ActivityIndicator color={isLoading ? "red" : profileLoading ? "blue" : "green"} /> ); } return ( <Stack initialRouteName="(tabs)"> <Stack.Screen Loading
mobile/src/auth/contexts/auth_context.tsx +8 −0 Original line number Diff line number Diff line Loading @@ -106,6 +106,14 @@ export const AuthContextProvider = ({ children }: AuthContextProviderProps) => { useEffect(() => { checkSession(); const timeout = setTimeout(() => { if (isLoading) { setIsLoading(false); } }, 3000); return () => clearTimeout(timeout); }, []); return ( Loading