Skip to content

Commit 489d3df

Browse files
committed
Fix typo
This if-clause is supposed to check whether an answer exists for the current question in the local data, `answerChoices` is a different variable.
1 parent 91c7ac1 commit 489d3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/SessionView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
}
263263
264264
answerChoice = data.session.answer_choices.find(e => e.question_id === currentQuestionId);
265-
if (!answerChoices) {
265+
if (!answerChoice) {
266266
return;
267267
}
268268

0 commit comments

Comments
 (0)