Skip to content

Commit

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

const cancelExit = () => {
Expand Down

0 comments on commit 1fa9346

Please sign in to comment.