silentTranslationWarn if not development

This commit is contained in:
Adam Stachowicz
2021-09-28 07:02:19 +02:00
parent 58aa83331e
commit fa9d26416c
2 changed files with 5 additions and 6 deletions

View File

@@ -45,6 +45,6 @@ export const i18n = createI18n({
locale: localStorage.locale || "en",
fallbackLocale: "en",
silentFallbackWarn: true,
silentTranslationWarn: false,
silentTranslationWarn: process.env.NODE_ENV !== "development",
messages: languageList,
});