From c704308010e83ecfade5ce909362f736409627ed Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Wed, 29 Jan 2025 14:17:13 +0000 Subject: [PATCH] linting --- src/Components/Map/UtopiaMapInner.tsx | 1 + 1 file changed, 1 insertion(+) 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, () => {