Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Sep 11, 2023
1 parent 58a9135 commit e30699f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/map/MapPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const MapPosition = () => {
showNorthArrow,
} = useSelector((state) => state.download)
const { id: mapId, mapViews: layers } = useSelector((state) => state.map)
const { layersPanelOpen, dataTableHeight } = useSelector(
const { layersPanelOpen, rightPanelOpen, dataTableHeight } = useSelector(
(state) => state.ui
)
const dataTableOpen = useSelector((state) => !!state.dataTable)
Expand Down Expand Up @@ -49,7 +49,8 @@ const MapPosition = () => {
dataTableOpen,
dataTableHeight,
downloadMapInfoOpen,
layersPanelOpen.rightPanelOpen,
layersPanelOpen,
rightPanelOpen,
])

// Reset bearing and pitch when new map (mapId changed)
Expand Down

0 comments on commit e30699f

Please sign in to comment.