AxL95 commited on
Commit
70864ef
·
verified ·
1 Parent(s): 3962396

Update frontend/src/components/Panel.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/components/Panel.jsx +3 -1
frontend/src/components/Panel.jsx CHANGED
@@ -15,7 +15,9 @@ const Panel = ({
15
  setPage
16
  }) => {
17
 
18
-
 
 
19
 
20
  // Fonctions existantes
21
  const createNewChat = () => {
 
15
  setPage
16
  }) => {
17
 
18
+ useEffect(() => {
19
+ console.log("Role de l'utilisateur dans Panel:", userRole);
20
+ }, userRole);
21
 
22
  // Fonctions existantes
23
  const createNewChat = () => {