feat: route geïnitialiseerd

This commit is contained in:
Joyelle Ndagijimana 2025-03-16 16:54:03 +01:00
parent 7283dd298c
commit cd86497b41
2 changed files with 23 additions and 43 deletions

View file

@ -9,6 +9,7 @@
// Instantiate variables to use in html to render right
// Links and content dependent on the role (student or teacher)
//TODO: use localStorage to know which one in logged in, teacher or student
const isTeacher = route.path.includes("teacher");
const userId = route.params.id as string;