sign in page ui implemented

This commit is contained in:
Sanidhya Kumar Verma
2024-08-29 16:48:31 +00:00
committed by GitHub
parent 0f18202280
commit 3e4c13d87c
4 changed files with 50 additions and 5 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { tokenCache } from "@/lib/auth";
import { ClerkProvider, ClerkLoaded } from "@clerk/clerk-expo";
import { useFonts } from "expo-font";
import { Stack } from "expo-router";
@@ -34,7 +35,7 @@ const RootLayout = () => {
if (!publishableKey) throw new Error("Missing Clerk Publishable Key.");
return (
<ClerkProvider publishableKey={publishableKey}>
<ClerkProvider publishableKey={publishableKey} tokenCache={tokenCache}>
<ClerkLoaded>
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />