Revert then refix because shit got broken
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import React, { useState } from 'react';
|
||||
import { StyleSheet } from 'react-native';
|
||||
import { ThemedText, ThemedView } from '@/components/theme/Theme';
|
||||
import { ThemedView } from '@/components/theme/Theme';
|
||||
import UserInfo from '@/components/home/UserInfo';
|
||||
import RelationshipView from '@/components/home/RelationshipView';
|
||||
|
||||
@ -17,7 +17,6 @@ const IndexScreen = () => {
|
||||
</ThemedView>
|
||||
</ThemedView>
|
||||
);
|
||||
|
||||
};
|
||||
export default IndexScreen;
|
||||
|
||||
|
@ -7,14 +7,9 @@ import {
|
||||
|
||||
const RootLayout = () => {
|
||||
const [isSignedIn, setIsSignedIn] = useState(false);
|
||||
console.log('RootLayout rendering, isSignedIn:', isSignedIn);
|
||||
if (!isSignedIn) {
|
||||
console.log('Rendering SignInScreen');
|
||||
return (
|
||||
<SignInScreen onSignIn={() => setIsSignedIn(true)} />
|
||||
);
|
||||
}
|
||||
console.log('PushNotificationManager & Stack');
|
||||
if (!isSignedIn)
|
||||
return <SignInScreen onSignIn={() => setIsSignedIn(true)} />
|
||||
|
||||
return (
|
||||
<PushNotificationManager>
|
||||
<Stack>
|
||||
|
Reference in New Issue
Block a user