Skip to content

Commit

Permalink
Don't show the check if the answer is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasnaphas committed Mar 20, 2024
1 parent 84fc562 commit 3d3e03e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend-create-haggadah/pages/blanks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ const ChipSection = (props: {
assignment &&
assignment.id &&
assignment.id in answers &&
answers[`${assignment.id}`] !== "" ? (
answers[`${assignment.id}`] !== "" &&
answers[`${assignment.id}`] !== undefined ? (
<DoneIcon />
) : undefined
}
Expand Down

0 comments on commit 3d3e03e

Please sign in to comment.