@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user