chore: fix edit memo params

pull/2716/head
Steven 1 year ago
parent 8b9455d784
commit 79c13c6f83

@ -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 ?? "");

Loading…
Cancel
Save