From c00e2870aff4994eb96343e9c55a76b05c5a9dda Mon Sep 17 00:00:00 2001 From: David Inga Date: Tue, 5 Dec 2023 18:26:58 +0100 Subject: [PATCH] up version for deployment testing --- client/src/containers/map/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client/src/containers/map/index.tsx b/client/src/containers/map/index.tsx index d5ae0bc..81a9817 100644 --- a/client/src/containers/map/index.tsx +++ b/client/src/containers/map/index.tsx @@ -75,7 +75,7 @@ export default function MapContainer() { const bbox = useRecoilValue(bboxAtom); const tmpBbox = useRecoilValue(tmpBboxAtom); - const isFlyingBack = useRecoilValue(isFlyingBackAtom); + // const isFlyingBack = useRecoilValue(isFlyingBackAtom); const layersInteractiveIds = useRecoilValue(layersInteractiveIdsAtom); @@ -84,10 +84,7 @@ export default function MapContainer() { const pathname = usePathname(); - const isHomePage = useMemo( - () => !pathname.includes('stories'), - [pathname, isFlyingBack] - ); + const isHomePage = useMemo(() => !pathname.includes('stories'), [pathname]); console.log('isHomePage', isHomePage);