Commit 79c13c6f authored by Steven's avatar Steven

chore: fix edit memo params

parent 8b9455d7
......@@ -92,6 +92,8 @@ const MemoEditor = (props: Props) => {
setState((prevState) => ({
...prevState,
memoVisibility: memo.visibility,
resourceList: memo.resources,
relationList: memo.relations,
}));
if (!contentCache) {
editorRef.current?.setContent(memo.content ?? "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment