feat: Implement initial admin and mobile application UI, including styling, layouts, authentication, and legal page components.
This commit is contained in:
@@ -4,6 +4,8 @@ import { Stack, SplashScreen } from 'expo-router'
|
||||
import { useAuthStore } from '@/store/auth.store'
|
||||
import { TRPCProvider } from '@/lib/trpc'
|
||||
|
||||
import { LoadingScreen } from '@/components/ui/LoadingScreen'
|
||||
|
||||
SplashScreen.preventAutoHideAsync()
|
||||
|
||||
export default function RootLayout() {
|
||||
@@ -14,7 +16,7 @@ export default function RootLayout() {
|
||||
initAuth().finally(() => SplashScreen.hideAsync())
|
||||
}, [initAuth])
|
||||
|
||||
if (!isInitialized) return null
|
||||
if (!isInitialized) return <LoadingScreen />
|
||||
|
||||
return (
|
||||
<TRPCProvider>
|
||||
|
||||
Reference in New Issue
Block a user