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);