Skip to content

Commit

Permalink
chore(lint): nullish check
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner committed Dec 16, 2024
1 parent 33a5552 commit 7188e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/cms/fetchAllFormFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function formFieldsFromEntries(
): FormFieldsMap {
return Object.fromEntries(
entries
.filter((entry) => entry && entry.stepId && entry.form.length > 0)
.filter((entry) => entry?.stepId && entry?.form.length > 0)
.map((entry) => [
entry!.stepId,
entry!.form.map((formField) => formField.name),
Expand Down

0 comments on commit 7188e1b

Please sign in to comment.