diff --git a/components/notifications/answer-modal.tsx b/components/notifications/answer-modal.tsx index 0123271..8a8d05b 100644 --- a/components/notifications/answer-modal.tsx +++ b/components/notifications/answer-modal.tsx @@ -115,7 +115,7 @@ export function AnswerModal({ question, isDemo, onClose }: AnswerModalProps) { {question.question} - {question.options && question.options.length > 0 && ( + {question.options?.length ? (

Kies een van de opties:

@@ -134,12 +134,12 @@ export function AnswerModal({ question, isDemo, onClose }: AnswerModalProps) { ))}
- )} + ) : null} -
0 ? 'space-y-1 border-t pt-4' : 'space-y-1'}> - {question.options && question.options.length > 0 && ( +
+ {question.options?.length ? (

Of typ een eigen antwoord

- )} + ) : null}