Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix type definition

Steven10c81ccba370
diff --git a/web/src/components/MemoEditorV1/MemoEditorDialog.tsx b/web/src/components/MemoEditorV1/MemoEditorDialog.tsx
index 57e878436..c01fde64c 100644
--- a/web/src/components/MemoEditorV1/MemoEditorDialog.tsx
+++ b/web/src/components/MemoEditorV1/MemoEditorDialog.tsx
@@ -1,6 +1,7 @@
import { useEffect } from "react";
import { useGlobalStore, useTagStore } from "@/store/module";
-import MemoEditor from ".";
+import { MemoRelation } from "@/types/proto/api/v2/memo_relation_service";
+import MemoEditorV1 from ".";
import { generateDialog } from "../Dialog";
import Icon from "../Icon";
@@ -34,7 +35,7 @@ const MemoEditorDialog: React.FC<Props> = ({ memoId, relationList, destroy }: Pr
</button>
</div>
<div className="flex flex-col justify-start items-start max-w-full w-[36rem]">
- <MemoEditor
+ <MemoEditorV1
className="border-none !p-0 -mb-2"
cacheKey={`memo-editor-${memoId}`}
memoId={memoId}