A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
desktop: fix `Could not resolve "@notesnook/intl/dist/locales/$en.json"` error
Abdullah Attac9b1b424619d
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex 902deb947..f2925b4be 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/dist/locales/$pseudo-LOCALE.json")- : import("@notesnook/intl/dist/locales/$en.json");+ ? import("@notesnook/intl/locales/$pseudo-LOCALE.json")+ : import("@notesnook/intl/locales/$en.json");locale.then(({ default: locale }) => {i18n.load({en: locale.messages as unknown as Messages