Skip to content

Commit

Permalink
docs page: allow non-specified onSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Jul 5, 2024
1 parent ee587a4 commit 13dc511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/molecules/InterventionModal/DeckMapContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function DeckConfigStyleDeckMapContent({
'default'
)
React.useEffect(() => {
setSelectedLocation(selectedLocation)
setSelectedLocation != null && setSelectedLocation(selectedLocation)
}, [selectedLocation, setSelectedLocation])
return <>{DeckLocationSelect}</>
}
Expand Down

0 comments on commit 13dc511

Please sign in to comment.