Skip to content

Commit

Permalink
Fix scoring logic
Browse files Browse the repository at this point in the history
  • Loading branch information
benchristel committed Mar 13, 2024
1 parent 59d9bb0 commit bf07208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/flipbook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function GradableRenderer(props: QuestionRendererProps) {
case "invalid":
return "You didn't answer the question.";
case "points":
return score.earned > 0 ? "Correct!" : "Incorrect.";
return score.earned === score.total ? "Correct!" : "Incorrect.";
}
}

Expand Down

0 comments on commit bf07208

Please sign in to comment.