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
editor: fix imports
Ammar Ahmed44ddb49d0ee9
diff --git a/apps/mobile/app/screens/editor/tiptap/commands.ts b/apps/mobile/app/screens/editor/tiptap/commands.tsindex 3b97a7c26..1f9b65911 100644--- a/apps/mobile/app/screens/editor/tiptap/commands.ts+++ b/apps/mobile/app/screens/editor/tiptap/commands.ts@@ -30,7 +30,7 @@ import { sleep } from "../../../utils/time";import { Settings } from "./types";import { useTabStore } from "./use-tab-store";import { getResponse, randId, textInput } from "./utils";-import { EditorSessionItem } from "@notesnook/common/dist/utils/editor-sessions";+import { EditorSessionItem } from "@notesnook/common";type Action = { job: string; id: string };diff --git a/packages/editor-mobile/src/utils/index.ts b/packages/editor-mobile/src/utils/index.tsindex 992ec9051..607fce31d 100644--- a/packages/editor-mobile/src/utils/index.ts+++ b/packages/editor-mobile/src/utils/index.ts@@ -21,7 +21,7 @@ import { Editor, ToolbarGroupDefinition } from "@notesnook/editor";import { ThemeDefinition } from "@notesnook/theme";import { Dispatch, MutableRefObject, RefObject, SetStateAction } from "react";import { EditorController } from "../hooks/useEditorController";-import { EditorSessions } from "@notesnook/common/dist/utils/editor-sessions";+import { EditorSessions } from "@notesnook/common";import { EditorEvents } from "./editor-events";globalThis.sessionId = "notesnook-editor";