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 })}