From 86386f7d360c07332a356fe11753868755514519 Mon Sep 17 00:00:00 2001 From: Domitrius Date: Tue, 25 Jun 2024 16:00:04 -0400 Subject: [PATCH] adding ClerkLoaded to the layout --- app/_layout.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/_layout.tsx b/app/_layout.tsx index 3f3478e..52489c7 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -2,7 +2,7 @@ import { useFonts } from "expo-font"; import { Slot } from "expo-router"; import * as SplashScreen from "expo-splash-screen"; import { useEffect } from "react"; -import { ClerkProvider } from "@clerk/clerk-expo"; +import { ClerkLoaded, ClerkProvider } from "@clerk/clerk-expo"; import { tokenCache } from "@/cache"; // Prevent the splash screen from auto-hiding before asset loading is complete. @@ -33,7 +33,9 @@ export default function RootLayout() { return ( - + + + ); }