Skip to content

Commit

Permalink
[fix] Reset all answers
Browse files Browse the repository at this point in the history
  • Loading branch information
dwesh163 committed Oct 1, 2024
1 parent f48520f commit 49b27c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/quiz/[slug]/[questionId].js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ export default function Question() {
setIsLoading(false);
}, 1000);
} else {
setGlobalAnswers({});
setTimeout(() => {
router.push('/quiz/' + router.query.slug + '/1');
}, 1000);
Expand Down

0 comments on commit 49b27c1

Please sign in to comment.