diff options
Diffstat (limited to 'packages/mobile/app')
| -rw-r--r-- | packages/mobile/app/_layout.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/mobile/app/_layout.tsx b/packages/mobile/app/_layout.tsx index c578d07f..b37585e2 100644 --- a/packages/mobile/app/_layout.tsx +++ b/packages/mobile/app/_layout.tsx @@ -7,6 +7,8 @@ import { StatusBar } from "expo-status-bar"; import { useEffect } from "react"; import { View } from "react-native"; +import { Providers } from "@/lib/providers"; + export default function RootLayout() { const router = useRouter(); const { hasShareIntent, shareIntent, resetShareIntent } = useShareIntent({ @@ -23,9 +25,11 @@ export default function RootLayout() { } }, [hasShareIntent]); return ( - <View className="h-full w-full bg-white"> - <Slot /> - <StatusBar style="auto" /> - </View> + <Providers> + <View className="h-full w-full bg-white"> + <Slot /> + <StatusBar style="auto" /> + </View> + </Providers> ); } |
