chore: remove unused dependencies

This commit is contained in:
hamster1963 2024-11-25 18:06:09 +08:00
parent e6cd4daa57
commit 14f7df00c4
3 changed files with 1 additions and 2 deletions

View File

@ -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

BIN
bun.lockb

Binary file not shown.

View File

@ -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",