Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtan2000 authored Aug 16, 2024
1 parent c59e65e commit cda8d6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/(main)/quiz/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ const confirmExit = () => {
setVisible(false);
abandonQuiz();
setIsQuizOngoing(false);
window.location.reload();
};

const cancelExit = () => {
Expand Down Expand Up @@ -303,4 +302,4 @@ const [visible, setVisible] = useState(false);
);
};

export default QuizPage;
export default QuizPage;

0 comments on commit cda8d6f

Please sign in to comment.