diff --git a/components/infoPage/infoBox/InfoBox.tsx b/components/infoPage/infoBox/InfoBox.tsx index 15b469c..fe4fdaa 100644 --- a/components/infoPage/infoBox/InfoBox.tsx +++ b/components/infoPage/infoBox/InfoBox.tsx @@ -22,7 +22,7 @@ const InfoBox = () => { const [boxShown, setBoxShown] = useState(false) const { setOpenNarrative } = useContext(NarrativeContext) as NarrativeType - const { setOpenStreetView } = useContext(StreetViewContext) as StreetViewType + const { setOpenStreetView, openStreetView } = useContext(StreetViewContext) as StreetViewType const isDesktop = useMediaQuery({ query: "(min-width: 1024px)" }) @@ -64,7 +64,7 @@ const InfoBox = () => { -