mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
♻️ remove click
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user