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

View File

@@ -14,7 +14,8 @@ export default function Home() {
const { chantier, setChantier } = useChantier();
const { role } = useUser();
console.log("User", role);
return(
<ThemedView lvl={3} style={styles.back}>
<View style={styles.container}>