diff --git a/src/Components/Map/UtopiaMapInner.tsx b/src/Components/Map/UtopiaMapInner.tsx index e7d6cfb2..fc325098 100644 --- a/src/Components/Map/UtopiaMapInner.tsx +++ b/src/Components/Map/UtopiaMapInner.tsx @@ -125,6 +125,7 @@ export function UtopiaMapInner({ const id = window.location.pathname.split('/')[1] // eslint-disable-next-line security/detect-object-injection const ref = leafletRefs[id] + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition if (ref) { clusterRef.hasLayer(ref.marker) && clusterRef?.zoomToShowLayer(ref.marker, () => {