From de0c85ca334d06f042e685b8263a3261b8f8b055 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 6 Dec 2021 18:38:53 +0800 Subject: ... --- FrontEnd/src/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FrontEnd/src/i18n.ts') diff --git a/FrontEnd/src/i18n.ts b/FrontEnd/src/i18n.ts index 8caf51ec..5f71c7ea 100644 --- a/FrontEnd/src/i18n.ts +++ b/FrontEnd/src/i18n.ts @@ -51,7 +51,7 @@ export const i18nPromise = i18n fallbackLng: false, lowerCaseLng: true, - debug: process.env.NODE_ENV === "development", + debug: import.meta.env.DEV, interpolation: { escapeValue: false, // not needed for react!! -- cgit v1.2.3