chore: close 18n debug log

This commit is contained in:
tzhangchi
2022-12-18 08:37:35 +08:00
parent fec88b7bec
commit c18d318d70
+2 -2
View File
@@ -52,8 +52,8 @@ const i18n = i18next.createInstance();
i18n.use(initReactI18next).init({ i18n.use(initReactI18next).init({
lng: language, lng: language,
fallbackLng, fallbackLng,
debug: process.env['NODE_ENV'] === 'development', // debug: process.env['NODE_ENV'] === 'development',
debug: false,
resources, resources,
interpolation: { interpolation: {
escapeValue: false, // not needed for react as it escapes by default escapeValue: false, // not needed for react as it escapes by default