remove redundant variable

This commit is contained in:
Ayaka Mikazuki 2023-06-01 00:00:24 +08:00
parent 11650a79f8
commit c33c1a27e4

View file

@ -6,28 +6,6 @@ import LanguageDetector from 'i18next-browser-languagedetector';
const googleClientId = import.meta.env.VITE_GOOGLE_CLIENT_ID || undefined; 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']; const namespace = ['main', 'api', 'about', 'model'];
if (googleClientId) namespace.push('drive'); if (googleClientId) namespace.push('drive');