Update frontend/src/components/Panel.jsx
Browse files
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 = () => {
|