Role management not working

I can't make it use the correct context
If someone wants to try it, use this branch
This commit is contained in:
Alexis Leboeuf
2025-12-13 15:17:38 +01:00
parent e43811d6f8
commit 92b1729728
4 changed files with 54 additions and 28 deletions

10
app/layout.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { Slot } from "expo-router";
import { UserProvider } from "./ContextUser";
export default function Layout() {
return (
<UserProvider>
<Slot />
</UserProvider>
);
}