chore: Secure routes with auth middleware, update text and fix minor bugs
This commit is contained in:
@@ -133,7 +133,7 @@ export function ExamResult({ payload, attemptId, examType, onRetake }: ExamResul
|
||||
} catch (err) {
|
||||
console.error("Error exiting fullscreen", err);
|
||||
}
|
||||
router.push(`/dashboard/cbt/history/${attemptId}`);
|
||||
router.push(isDPP ? `/dashboard/ai-coach/cbt-dpp/history/${attemptId}` : `/dashboard/cbt/history/${attemptId}`);
|
||||
}}
|
||||
>
|
||||
View Solutions
|
||||
|
||||
Reference in New Issue
Block a user