From c9b1b424619d7bc9bc3d52e58c3ea8cdfb501dbe Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Tue, 5 Nov 2024 13:07:31 +0500 Subject: [PATCH] desktop: fix `Could not resolve "@notesnook/intl/dist/locales/$en.json"` error --- apps/desktop/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 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