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:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user