mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 02:20:19 +08:00
fix: delete modal on confirm does not close (#2322)
This commit is contained in:
+1
@@ -153,6 +153,7 @@ const PageMenu = () => {
|
|||||||
onConfirm={() => {
|
onConfirm={() => {
|
||||||
removeToTrash(pageMeta.id);
|
removeToTrash(pageMeta.id);
|
||||||
toast(t['Moved to Trash']());
|
toast(t['Moved to Trash']());
|
||||||
|
setOpenConfirm(false);
|
||||||
}}
|
}}
|
||||||
onCancel={() => {
|
onCancel={() => {
|
||||||
setOpenConfirm(false);
|
setOpenConfirm(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user