Skip to content

Commit

Permalink
fix dependencies for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisintech committed Nov 5, 2024
1 parent d1ea282 commit 15977f2
Show file tree
Hide file tree
Showing 4 changed files with 3,092 additions and 4,907 deletions.
2 changes: 1 addition & 1 deletion app/(home)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stack } from "expo-router";
import { Stack } from 'expo-router';

export default function HomeLayout() {
return <Stack />;
Expand Down
16 changes: 8 additions & 8 deletions app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { useFonts } from "expo-font";
import { Slot } from "expo-router";
import * as SplashScreen from "expo-splash-screen";
import { useEffect } from "react";
import { ClerkLoaded, ClerkProvider } from "@clerk/clerk-expo";
import { tokenCache } from "@/cache";
import { useFonts } from 'expo-font';
import { Slot } from 'expo-router';
import * as SplashScreen from 'expo-splash-screen';
import { useEffect } from 'react';
import { ClerkLoaded, ClerkProvider } from '@clerk/clerk-expo';
import { tokenCache } from '@/cache';

// Prevent the splash screen from auto-hiding before asset loading is complete.
SplashScreen.preventAutoHideAsync();

export default function RootLayout() {
const [loaded] = useFonts({
SpaceMono: require("../assets/fonts/SpaceMono-Regular.ttf"),
SpaceMono: require('../assets/fonts/SpaceMono-Regular.ttf'),
});

useEffect(() => {
Expand All @@ -27,7 +27,7 @@ export default function RootLayout() {

if (!publishableKey) {
throw new Error(
"Missing Publishable Key. Please set EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY in your .env"
'Missing Publishable Key. Please set EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY in your .env'
);
}

Expand Down
Loading

0 comments on commit 15977f2

Please sign in to comment.