Test
Some checks failed
Build APK / build (push) Has been cancelled

This commit is contained in:
2026-04-25 12:31:47 +02:00
parent 28f6a729fe
commit 3e8cc0b9c8
2 changed files with 4 additions and 4 deletions

View File

@@ -24,9 +24,9 @@ export default function RootLayout() {
setLoaded(true); // 👈 ALWAYS run this
}, [isHydrated, navigationState?.key, segments, user]);
if(!loaded) {
return (<LoadingScreen />); // or a loading spinner
}
//if(!loaded) {
// return (<LoadingScreen />); // or a loading spinner
//}
return (
<BirthdaysProvider>

View File

@@ -42,7 +42,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
await AsyncStorage.setItem(STORAGE_KEY, JSON.stringify(fakeUser));
setUser(fakeUser);
console.log(fakeUser)
await new Promise((resolve) => setTimeout(resolve, 1000));
// await new Promise((resolve) => setTimeout(resolve, 1000));
return true;
}