use expo router instead of navigation

This commit is contained in:
2024-12-05 21:12:40 +01:00
parent 97902ce502
commit 263b34048d
13 changed files with 126 additions and 213 deletions
+21
View File
@@ -0,0 +1,21 @@
import React from "react";
import {AuthProvider} from "@/src/context/AuthProvider";
import {ThemeProvider} from "@/src/context/ThemeProvider";
import {Stack} from "expo-router";
export default function Layout() {
return (
<ThemeProvider>
<AuthProvider>
<Stack
screenOptions={{
headerShown: false
}}
/>
</AuthProvider>
</ThemeProvider>
);
}