fix: delete modal on confirm does not close (#2322)
This commit is contained in:
@@ -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