feat(common): improve confirmation modal api

This commit is contained in:
2026-01-30 23:14:51 +01:00
parent 9deeb42cfd
commit 776783237b
7 changed files with 27 additions and 30 deletions

View File

@@ -43,10 +43,8 @@ const handleActivateA = () => {
confirmationModal.open({
text,
onClosed: () => store.closeSubMenu(),
timeout: 2000,
});
setTimeout(() => {
confirmationModal.close();
}, 2000);
};
defineOptions({ render: () => null });