From 3b878b4db420055ff322927b5027f573c04a80a4 Mon Sep 17 00:00:00 2001 From: ikorotkaya Date: Wed, 4 Oct 2023 22:46:27 +0200 Subject: [PATCH] Remove legacy eslint disable --- src/components/GoogleMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GoogleMap.tsx b/src/components/GoogleMap.tsx index c89b78d..60c4d54 100644 --- a/src/components/GoogleMap.tsx +++ b/src/components/GoogleMap.tsx @@ -235,7 +235,7 @@ export default function GoogleMapsComponent({ if (selectedVenueId !== null && selectedVenueId !== properties.venue.id) { return null; } - return cluster // eslint-disable-line @typescript-eslint/strict-boolean-expressions + return cluster ? handleClusterClick({ id: id as number, lat, lng })}