From 0d7560d7c19d9a302d30852fe8ca8c7fa5b3511c Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Sat, 7 Sep 2024 11:38:02 +0200 Subject: [PATCH] fix: Type --- website/src/components/Mutations/Minimap.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/Mutations/Minimap.tsx b/website/src/components/Mutations/Minimap.tsx index e0cf987..54d3d83 100644 --- a/website/src/components/Mutations/Minimap.tsx +++ b/website/src/components/Mutations/Minimap.tsx @@ -32,11 +32,11 @@ const Minimap = ({ data={geoDataMinimap.country} /> 10000} - getPosition={(d) => d.coordinates} + getPosition={(d: { coordinates: [number, number] }) => d.coordinates} getFillColor={[0, 0, 255, 50]} getLineColor={[0, 0, 0]} getLineWidth={10}