diff --git a/app/(main)/ClientComponents/Global.tsx b/app/(main)/ClientComponents/Global.tsx index 6a9586b..4e70787 100644 --- a/app/(main)/ClientComponents/Global.tsx +++ b/app/(main)/ClientComponents/Global.tsx @@ -39,7 +39,9 @@ export async function Global({ countries = [] }: GlobalProps) { const geoJson = JSON.parse(geoJsonString); countries_alpha3.forEach((countryCode) => { - const feature = geoJson.features.find((f: any) => f.properties.iso_a3 === countryCode); + const feature = geoJson.features.find( + (f: any) => f.properties.iso_a3 === countryCode, + ); if (feature) { // 获取国家的边界框 diff --git a/package.json b/package.json index 7f5c29c..894e3f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nezha-dash", - "version": "1.4.3", + "version": "1.4.3-fix", "private": true, "scripts": { "dev": "next dev -p 3040",