mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
♻️ remove click
This commit is contained in:
@@ -82,13 +82,7 @@ export function WorldMap({ data, label }: WorldMapProps) {
|
|||||||
svgRef.current,
|
svgRef.current,
|
||||||
getColorForValue,
|
getColorForValue,
|
||||||
dataByCountryCode
|
dataByCountryCode
|
||||||
).on("click", (_event, countryPath) => {
|
);
|
||||||
console.log({
|
|
||||||
_event,
|
|
||||||
countryPath
|
|
||||||
});
|
|
||||||
// onCountryClick(countryPath as unknown as WorldJsonCountryData);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}, [theme, systemTheme, maxValue, dataByCountryCode]);
|
}, [theme, systemTheme, maxValue, dataByCountryCode]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user