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

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