mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
chore: remove unused dependencies
This commit is contained in:
parent
e6cd4daa57
commit
14f7df00c4
@ -59,7 +59,7 @@ export function InteractiveMap({
|
|||||||
feature.properties.iso_a3,
|
feature.properties.iso_a3,
|
||||||
);
|
);
|
||||||
const countryCode = Object.entries(countryCodeMapping).find(
|
const countryCode = Object.entries(countryCodeMapping).find(
|
||||||
([_, alpha3]) => alpha3 === feature.properties.iso_a3,
|
([,alpha3]) => alpha3 === feature.properties.iso_a3,
|
||||||
)?.[0];
|
)?.[0];
|
||||||
const serverCount = countryCode
|
const serverCount = countryCode
|
||||||
? serverCounts[countryCode] || 0
|
? serverCounts[countryCode] || 0
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
"country-flag-icons": "^1.5.13",
|
"country-flag-icons": "^1.5.13",
|
||||||
"d3-geo": "^3.1.1",
|
"d3-geo": "^3.1.1",
|
||||||
"d3-selection": "^3.0.0",
|
"d3-selection": "^3.0.0",
|
||||||
"dotted-map": "^2.2.3",
|
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"flag-icons": "^7.2.3",
|
"flag-icons": "^7.2.3",
|
||||||
"framer-motion": "^12.0.0-alpha.2",
|
"framer-motion": "^12.0.0-alpha.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user