From ff390681d1b7579a20e87f230cd90a32f62eb186 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 26 Apr 2024 07:49:24 +0800 Subject: [PATCH] chore: remove ts-ignore --- utils/getLanguage.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/getLanguage.ts b/utils/getLanguage.ts index 39ec319d..b3bc8233 100644 --- a/utils/getLanguage.ts +++ b/utils/getLanguage.ts @@ -54,7 +54,6 @@ interface Language { function linkLocale(locale: string) { let linkedLocale: string try { - // @ts-ignore linkedLocale = Intl.getCanonicalLocales(locale)[0] } catch (error) { console.log(`${error.toString()}\n`)