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

This commit is contained in:
JimmFly authored and GitHub committed 2023-05-11 05:19:11 +00:00
1 parent eff6a03a51
commit 47848cb5da
1 file changed
+1
@@ -153,6 +153,7 @@ const PageMenu = () => {
onConfirm={() => {
removeToTrash(pageMeta.id);
toast(t['Moved to Trash']());
setOpenConfirm(false);
}}
onCancel={() => {
setOpenConfirm(false);