Skip to content

Commit

Permalink
Fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leung018 committed Nov 7, 2024
1 parent 85cfc4f commit d7f57f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function MultipleChoiceQuiz({

const calculateScore = () => {
let score = 0
questionSet.questions.forEach((question, questionIndex) => {
questionSet.getCurrentPlayQuestions().forEach((question, questionIndex) => {
if (
question.mc.correctChoiceIndex ===
questionToCheckedChoiceMap.get(questionIndex)
Expand Down

0 comments on commit d7f57f1

Please sign in to comment.