Skip to content

Commit

Permalink
up version for deployment testing
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsingal committed Dec 5, 2023
1 parent 6dfb5e9 commit c00e287
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions client/src/containers/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit c00e287

Please sign in to comment.