From c33c1a27e4a73c5903594756929f1354fd7d6b1c Mon Sep 17 00:00:00 2001 From: Ayaka Mikazuki Date: Thu, 1 Jun 2023 00:00:24 +0800 Subject: [PATCH] remove redundant variable --- src/i18n.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/i18n.ts b/src/i18n.ts index cdebdce..39b8b12 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -6,28 +6,6 @@ import LanguageDetector from 'i18next-browser-languagedetector'; const googleClientId = import.meta.env.VITE_GOOGLE_CLIENT_ID || undefined; -export const i18nLanguages = [ - // 'ar', - 'da', - 'en', - 'en-GB', - 'en-US', - 'es', - 'fr', - 'fr-FR', - 'it', - 'ja', - 'ms', - 'nb', - 'ro', - 'sv', - // 'ug', - 'yue', - 'zh-CN', - 'zh-HK', - 'zh-TW', -]; - const namespace = ['main', 'api', 'about', 'model']; if (googleClientId) namespace.push('drive');