Skip to content

Commit

Permalink
Fix usage of OR
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Mar 29, 2024
1 parent 078361b commit ce98a34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function EditInterestPoint({ close, isOpen }: EditInterestPointProps) {
)}
value={
INTEREST_POINTS_OPTIONS.find(
option => option.value.name === interestPointBeingDrawed?.type ?? InterestPointType.OTHER
option => option.value.name === interestPointBeingDrawed?.type || InterestPointType.OTHER
)?.value
}
/>
Expand Down

0 comments on commit ce98a34

Please sign in to comment.