feat(common): improve confirmation modal api
This commit is contained in:
@@ -43,10 +43,8 @@ const handleActivateA = () => {
|
||||
confirmationModal.open({
|
||||
text,
|
||||
onClosed: () => store.closeSubMenu(),
|
||||
timeout: 2000,
|
||||
});
|
||||
setTimeout(() => {
|
||||
confirmationModal.close();
|
||||
}, 2000);
|
||||
};
|
||||
|
||||
defineOptions({ render: () => null });
|
||||
|
||||
Reference in New Issue
Block a user