Skip to content

Commit

Permalink
chore(web-ui): disable debug mode for i18n in production (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbook authored Jul 30, 2024
1 parent 17e2416 commit b8f79b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/web-ui/src/core/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function registerI18n() {
.use(initReactI18next)
.init({
fallbackLng: "en",
debug: true,
debug: process.env.NODE_ENV === "development",
interpolation: {
// Not needed for react as it escapes by default
escapeValue: false,
Expand Down

0 comments on commit b8f79b7

Please sign in to comment.