Files
iridaMobile/app/_layout.tsx
2026-10-30 11:04:23 +03:00

19 lines
492 B
TypeScript

import { Slot } from 'expo-router';
import * as SplashScreen from 'expo-splash-screen';
import { AppProviders, RouterErrorBoundary } from '@/app';
export { RouterErrorBoundary as ErrorBoundary };
const SPLASH_FALLBACK_TIMEOUT = 5000;
SplashScreen.preventAutoHideAsync().catch(() => {});
setTimeout(() => void SplashScreen.hideAsync().catch(() => {}), SPLASH_FALLBACK_TIMEOUT);
export default function RootLayout() {
return (
<AppProviders>
<Slot />
</AppProviders>
);
}