feat(common): improve confirmation modal api

This commit is contained in:
2026-01-30 23:14:51 +01:00
parent 8e7895ae59
commit db4b5cc9f9
7 changed files with 27 additions and 30 deletions

View File

@@ -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) => {