feat(common): improve confirmation modal api
This commit is contained in:
@@ -93,9 +93,8 @@ const handleConfirm = () => {
|
||||
{ locale: selectedLocale.code },
|
||||
),
|
||||
onClosed: () => store.closeSubMenu(),
|
||||
timeout: 2000,
|
||||
});
|
||||
// TODO: add "timeout" to confirmationModal.open
|
||||
setTimeout(() => confirmationModal.close(), 2000);
|
||||
};
|
||||
|
||||
onRender((ctx) => {
|
||||
|
||||
Reference in New Issue
Block a user