mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-19 11:11:05 -05:00
fix: Null pointer expection for multiple choice question on web-app form (#770)
This commit is contained in:
@@ -91,7 +91,7 @@ export default function MultipleChoiceMultiQuestion({
|
||||
[question.id]: selectedChoices,
|
||||
};
|
||||
|
||||
if (symmetricDifference(selectedChoices, storedResponseValue).length === 0) {
|
||||
if (!!storedResponseValue && symmetricDifference(selectedChoices, storedResponseValue).length === 0) {
|
||||
goToNextQuestion(data);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user