Unify dialog close behavior

This commit is contained in:
Gregory Schier
2026-08-17 08:11:19 -07:00
parent c14f6ff3bb
commit f4d9e3f784
5 changed files with 8 additions and 21 deletions
+1 -2
View File
@@ -14,9 +14,8 @@ export function showAlert({ id, title, body, size = "sm" }: AlertArgs) {
showDialog({
id,
title,
hideX: true,
size,
disableBackdropClose: true, // Prevent accidental dismisses
disableClose: true,
render: ({ hide }) => Alert({ onHide: hide, body }),
});
}