Skip to content

Commit

Permalink
cast to any as setClusterRef is not properly typed at the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Jan 31, 2025
1 parent 6d88c08 commit a138834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Map/UtopiaMapInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ export function UtopiaMapInner({
url='https://tile.osmand.net/hd/{z}/{x}/{y}.png'
/>
<MarkerClusterGroup
ref={(r) => setClusterRef(r)}
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
ref={(r) => setClusterRef(r as any)}
showCoverageOnHover
chunkedLoading
maxClusterRadius={50}
Expand Down

0 comments on commit a138834

Please sign in to comment.