Commit 9e14eceb by G

wrapped by ProvideQueryClient component

parent 80139a9a
import { UserAuthenticationContextProvider } from "@/contexts/UserAuthenticationContext";
import UnloggedUserStackNavigation from "@/navigations/UnloggedUserStackNavigation";
import theme from "@/themes/Theme";
import ProvideQueryClient from "@components/providers_wrappers/ProvideQueryClient";
import { NavigationContainer } from "@react-navigation/native";
import { ThemeProvider } from "@shopify/restyle";
import { StyleSheet } from "react-native";
......@@ -8,17 +9,19 @@ import { StyleSheet } from "react-native";
export default function App() {
return (
<ThemeProvider theme={theme}>
<UserAuthenticationContextProvider>
<NavigationContainer>
{/* <View style={styles.container}> */}
{/* <SafeAreaProvider>
<ProvideQueryClient>
<UserAuthenticationContextProvider>
<NavigationContainer>
{/* <View style={styles.container}> */}
{/* <SafeAreaProvider>
<StatusBar style="auto" />
<UserLoginScreen />
</SafeAreaProvider> */}
<UnloggedUserStackNavigation />
{/* </View> */}
</NavigationContainer>
</UserAuthenticationContextProvider>
<UnloggedUserStackNavigation />
{/* </View> */}
</NavigationContainer>
</UserAuthenticationContextProvider>
</ProvideQueryClient>
</ThemeProvider>
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment