From d7b21c8ee88ee20bc6ca593f2c945d95a2ff8589 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 31 Jan 2025 08:39:17 +0100 Subject: [PATCH] cast to any as setClusterRef is not properly typed at the moment --- src/Components/Map/UtopiaMapInner.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Map/UtopiaMapInner.tsx b/src/Components/Map/UtopiaMapInner.tsx index 5e28be9b..e234f33f 100644 --- a/src/Components/Map/UtopiaMapInner.tsx +++ b/src/Components/Map/UtopiaMapInner.tsx @@ -190,7 +190,8 @@ export function UtopiaMapInner({ url='https://tile.osmand.net/hd/{z}/{x}/{y}.png' /> setClusterRef(r)} + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion + ref={(r) => setClusterRef(r as any)} showCoverageOnHover chunkedLoading maxClusterRadius={50}