diff --git a/src/init/i18n/index.ts b/src/init/i18n/index.ts index 3d3df12..983f37d 100644 --- a/src/init/i18n/index.ts +++ b/src/init/i18n/index.ts @@ -21,7 +21,7 @@ void i18n .init({ resources, fallbackLng: "en-GB", - debug: process.env.NODE_ENV === "development", + debug: import.meta.env.DEV, interpolation: { escapeValue: false, // React already does escaping