Skip to content

Commit

Permalink
fix: fix map reference
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Aug 18, 2022
1 parent 43e0563 commit 7941069
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _src/react-app/components/location/VerifyMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ const VerifyMap = ({
<MapHoister
streamSearchDiv={streamSearchDiv}
isMainMap={isMainMap}
setMap={(map) => setInnerMap(map) && setMap(map)}
setMap={(map) => {
setInnerMap(map);
setMap(map);
}}
setStreamsLayer={setStreamsLayer}
setLakesLayer={setLakesLayer}
selectStation={selectStation}
Expand Down

0 comments on commit 7941069

Please sign in to comment.