From cda8d6f247cb04b2ebc8ecc68b1260080243daf1 Mon Sep 17 00:00:00 2001 From: Andrew Tan Date: Fri, 16 Aug 2024 10:36:36 +0800 Subject: [PATCH] Update page.tsx --- app/(main)/quiz/page.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/(main)/quiz/page.tsx b/app/(main)/quiz/page.tsx index 1fef436..522cdad 100644 --- a/app/(main)/quiz/page.tsx +++ b/app/(main)/quiz/page.tsx @@ -135,7 +135,6 @@ const confirmExit = () => { setVisible(false); abandonQuiz(); setIsQuizOngoing(false); - window.location.reload(); }; const cancelExit = () => { @@ -303,4 +302,4 @@ const [visible, setVisible] = useState(false); ); }; -export default QuizPage; \ No newline at end of file +export default QuizPage;