Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix debug strings showing in production builds

Abdullah Atta1e52e01fb89c
diff --git a/apps/web/src/index.ts b/apps/web/src/index.ts
index 741c3f0ad..cfc2c2ddc 100644
--- a/apps/web/src/index.ts
+++ b/apps/web/src/index.ts
@@ -44,7 +44,7 @@ if (theme) {
if (stylesheet) stylesheet.innerHTML = css;
} else stylesheet?.remove();
-const locale = !import.meta.env.DEV
+const locale = import.meta.env.DEV
? import("@notesnook/intl/locales/$pseudo-LOCALE.json")
: import("@notesnook/intl/locales/$en.json");
locale.then(({ default: locale }) => {