Skip to content

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

desktop: fix type errors importing @notesnook/intl

Abdullah Attab1f21c1abeeb
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts
index f2925b4be..902deb947 100644
--- a/apps/desktop/src/main.ts
+++ b/apps/desktop/src/main.ts
@@ -41,8 +41,8 @@ import { i18n } from "@lingui/core";
const locale =
process.env.NODE_ENV === "development"
- ? import("@notesnook/intl/locales/$pseudo-LOCALE.json")
- : import("@notesnook/intl/locales/$en.json");
+ ? import("@notesnook/intl/dist/locales/$pseudo-LOCALE.json")
+ : import("@notesnook/intl/dist/locales/$en.json");
locale.then(({ default: locale }) => {
i18n.load({
en: locale.messages as unknown as Messages