mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update memo store
This commit is contained in:
@ -85,7 +85,7 @@ const MemoActionMenu = (props: Props) => {
|
||||
style: "danger",
|
||||
dialogName: "delete-memo-dialog",
|
||||
onConfirm: async () => {
|
||||
await memoStore.deleteMemo(extractMemoIdFromName(memo.name));
|
||||
await memoStore.deleteMemo(memo.name);
|
||||
toast.success("Deleted successfully");
|
||||
if (isInMemoDetailPage) {
|
||||
navigateTo("/");
|
||||
|
Reference in New Issue
Block a user