Skip to content

Commit

Permalink
Updated components/Forms/CommunityUnityForms.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Aug 23, 2024
1 parent 7fe868e commit a0ea62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Forms/CommunityUnitsForms.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function EditCommunityUnitsBasicDeatilsForm(props) {
})


if(event.currentTarget.name === `contact_type_${uid}`) {
if(event.currentTarget?.name === `contact_type_${uid}`) {
setContactTypeLabel(options?.contactTypes.find(({value}) => value === event.currentTarget.value)?.label)
}
}
Expand Down

0 comments on commit a0ea62d

Please sign in to comment.