diff --git a/src/Components/Drawer/Drawer.tsx b/src/Components/Drawer/Drawer.tsx index 72b4a49..c84e4e0 100644 --- a/src/Components/Drawer/Drawer.tsx +++ b/src/Components/Drawer/Drawer.tsx @@ -33,20 +33,36 @@ export default function Drawer() { marginRight: "4px", }} /> -

- {user.data - ? user.data.username - : user.isError - ? "Error loading user" - : "Loading user..."} -

+
+

+ {user.data + ? user.data.username + : user.isError + ? "Error loading user" + : "Loading user..."} +

+

+ {user.data && user.data.is_technician + ? "Technician" + : user.data && user.data.is_teacher + ? "Teacher" + : "Student"} +

+
+