From 1617e46c11ac29576799a2ca5491d003687d2734 Mon Sep 17 00:00:00 2001 From: Oliver Barnwell Date: Sat, 11 Dec 2021 18:17:35 +0000 Subject: [PATCH] refactor: tidyup --- src/components/LooMap/Markers.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/LooMap/Markers.tsx b/src/components/LooMap/Markers.tsx index 47018d394..57fe232bc 100644 --- a/src/components/LooMap/Markers.tsx +++ b/src/components/LooMap/Markers.tsx @@ -49,7 +49,6 @@ const Markers = () => { zIndexOffset: 0, icon: new ToiletMarkerIcon({ toiletId: toilet.id, - isHighlighted: toilet.id === mapState?.focus?.id, }), alt: 'Public Toilet', keyboard: false, @@ -63,7 +62,7 @@ const Markers = () => { } }); }, - [mapState?.focus?.id, router] + [router] ); const getLooGroupLayers = useMemo(() => {