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 himself65
parent 66e1b5c537
commit f8e184a6c0

View File

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