From d8312642e40a721887e1f2d52b3d55411ee7a054 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 21 Nov 2024 01:00:30 +0800 Subject: [PATCH] update: v1.4.3-fix --- app/(main)/ClientComponents/Global.tsx | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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",