Commit 9e14eceb by G

wrapped by ProvideQueryClient component

parent 80139a9a
import { UserAuthenticationContextProvider } from "@/contexts/UserAuthenticationContext"; import { UserAuthenticationContextProvider } from "@/contexts/UserAuthenticationContext";
import UnloggedUserStackNavigation from "@/navigations/UnloggedUserStackNavigation"; import UnloggedUserStackNavigation from "@/navigations/UnloggedUserStackNavigation";
import theme from "@/themes/Theme"; import theme from "@/themes/Theme";
import ProvideQueryClient from "@components/providers_wrappers/ProvideQueryClient";
import { NavigationContainer } from "@react-navigation/native"; import { NavigationContainer } from "@react-navigation/native";
import { ThemeProvider } from "@shopify/restyle"; import { ThemeProvider } from "@shopify/restyle";
import { StyleSheet } from "react-native"; import { StyleSheet } from "react-native";
...@@ -8,6 +9,7 @@ import { StyleSheet } from "react-native"; ...@@ -8,6 +9,7 @@ import { StyleSheet } from "react-native";
export default function App() { export default function App() {
return ( return (
<ThemeProvider theme={theme}> <ThemeProvider theme={theme}>
<ProvideQueryClient>
<UserAuthenticationContextProvider> <UserAuthenticationContextProvider>
<NavigationContainer> <NavigationContainer>
{/* <View style={styles.container}> */} {/* <View style={styles.container}> */}
...@@ -19,6 +21,7 @@ export default function App() { ...@@ -19,6 +21,7 @@ export default function App() {
{/* </View> */} {/* </View> */}
</NavigationContainer> </NavigationContainer>
</UserAuthenticationContextProvider> </UserAuthenticationContextProvider>
</ProvideQueryClient>
</ThemeProvider> </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