mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 18:41:52 +08:00
chore: close 18n debug log
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user