From ba71995ace4499cf75d96f88ad793caffad487cc Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Thu, 14 Nov 2024 08:41:16 +0000 Subject: [PATCH] Redirect to dashboard instead of /exam --- src/pages/(exam)/ExamPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/(exam)/ExamPage.tsx b/src/pages/(exam)/ExamPage.tsx index 2cd6b108..c01fd682 100644 --- a/src/pages/(exam)/ExamPage.tsx +++ b/src/pages/(exam)/ExamPage.tsx @@ -29,7 +29,7 @@ interface Props { hideSidebar?: boolean } -export default function ExamPage({ page, user, destination = "/exam", hideSidebar = false }: Props) { +export default function ExamPage({ page, user, destination = "/", hideSidebar = false }: Props) { const [variant, setVariant] = useState("full"); const [avoidRepeated, setAvoidRepeated] = useState(false); const [hasBeenUploaded, setHasBeenUploaded] = useState(false);