diff --git a/chatty-fe/src/app/(game)/quiz-room/[id]/page.tsx b/chatty-fe/src/app/(game)/quiz-room/[id]/page.tsx index 981213ec..ba13d1ef 100644 --- a/chatty-fe/src/app/(game)/quiz-room/[id]/page.tsx +++ b/chatty-fe/src/app/(game)/quiz-room/[id]/page.tsx @@ -97,7 +97,7 @@ const QuizRoom = ({ params }: { params: { id: number } }) => { !unableSubmit && (userAnswer || selectedOption) ) { - // event.preventDefault(); + event.preventDefault(); submitQuiz(params.id); } };