chore: create memo visibility when creating

This commit is contained in:
Steven
2024-01-18 15:20:22 +08:00
parent 893dd2c85e
commit 5172e4df7c
4 changed files with 31 additions and 4 deletions

View File

@ -340,7 +340,7 @@ const MemoEditor = (props: Props) => {
editorRef.current?.setContent("");
} catch (error: any) {
console.error(error);
toast.error(error.response.data.message);
toast.error(error.details);
}
setState((state) => {