diff --git a/frontend/src/components/organisms/LeftBarExams/index.tsx b/frontend/src/components/organisms/LeftBarExams/index.tsx index efef707f1ea235b108e13aabc6df4444c09141a9..ef5e679709881bc54cc4c60c22abf273de4583f6 100644 --- a/frontend/src/components/organisms/LeftBarExams/index.tsx +++ b/frontend/src/components/organisms/LeftBarExams/index.tsx @@ -9,32 +9,32 @@ const LeftBarExams: React.FC = () => { { title: "Overview", icon: faList, - activeURL: `/exams/`, + activeURL: `/exams`, }, { title: "Past Papers", icon: faArchive, - activeURL: `/exams/past-papers/`, + activeURL: `/exams/papers`, }, { title: "Submissions", icon: faUpload, - activeURL: `/exams/past-papers/`, + activeURL: `/exams/submissions`, }, { title: "Exam Timetable", icon: faCalendarAlt, - activeURL: `/exams/past-papers/`, + activeURL: `/exams/timetable`, }, { title: "Regulations", icon: faGavel, - activeURL: `/exams/regulations/`, + activeURL: `/exams/regulations`, }, { title: "Grading", icon: faFont, - activeURL: `/exams/grading/`, + activeURL: `/exams/grading`, }, { title: "Rubrics", diff --git a/frontend/src/components/pages/StandardView/index.tsx b/frontend/src/components/pages/StandardView/index.tsx index e48ab0e8a05155985b36056abb92e70568226c16..7ebeac2a05a8aa6639b4c0bc436304d3d837aaf9 100644 --- a/frontend/src/components/pages/StandardView/index.tsx +++ b/frontend/src/components/pages/StandardView/index.tsx @@ -51,7 +51,7 @@ const StandardView: React.FC<StandardViewProps> = ({ <LeftBarModuleList modulesFilter={modulesFilter} setModulesFilter={setModulesFilter}/> </Route> - <Route exact path="/exams"> + <Route path="/exams"> <LeftBarExams /> </Route>