chore: fix type definition

pull/2658/head
Steven 1 year ago
parent 9361613f23
commit 10c81ccba3

@ -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}

Loading…
Cancel
Save