From 87a0dd2d1277617a5b6d71756eaaf30af1c74204 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Fri, 21 Nov 2025 02:57:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20remove=20click?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/WorldMap.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/WorldMap.tsx b/src/components/WorldMap.tsx index 05b22521..c64c3f43 100644 --- a/src/components/WorldMap.tsx +++ b/src/components/WorldMap.tsx @@ -82,13 +82,7 @@ export function WorldMap({ data, label }: WorldMapProps) { svgRef.current, getColorForValue, dataByCountryCode - ).on("click", (_event, countryPath) => { - console.log({ - _event, - countryPath - }); - // onCountryClick(countryPath as unknown as WorldJsonCountryData); - }); + ); } }, [theme, systemTheme, maxValue, dataByCountryCode]);