Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(app): add and use deck map component in interventionmodal #15570

Merged
merged 9 commits into from
Jul 5, 2024
Prev Previous commit
docs page: allow non-specified onSelect
  • Loading branch information
sfoster1 committed Jul 5, 2024
commit 67a36a8ef42f492f78f8ddad9f2d74cc1370a0a7
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
Loading