fix: delete modal on confirm does not close (#2322)

This commit is contained in:
JimmFly
2023-05-11 13:19:11 +08:00
committed by GitHub
parent eff6a03a51
commit 47848cb5da

View File

@@ -153,6 +153,7 @@ const PageMenu = () => {
onConfirm={() => {
removeToTrash(pageMeta.id);
toast(t['Moved to Trash']());
setOpenConfirm(false);
}}
onCancel={() => {
setOpenConfirm(false);