mirror of https://github.com/usememos/memos.git
need to commit to switch branch
This commit is contained in:
parent
cd326d1dde
commit
8523f921db
|
|
@ -89,7 +89,7 @@ const MemoActionMenu = observer((props: Props) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//
|
//() => Promise.resolve(42)
|
||||||
const handleToggleMemoStatusClick = async () => {
|
const handleToggleMemoStatusClick = async () => {
|
||||||
//just review async in notes
|
//just review async in notes
|
||||||
//changing the state
|
//changing the state
|
||||||
|
|
@ -104,7 +104,7 @@ const MemoActionMenu = observer((props: Props) => {
|
||||||
await memoStore.updateMemo(
|
await memoStore.updateMemo(
|
||||||
{
|
{
|
||||||
name: memo.name,
|
name: memo.name,
|
||||||
state,
|
state
|
||||||
},
|
},
|
||||||
["state"],
|
["state"],
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue