diff --git a/src/common/confirmation-dialog/confirmation-dialog.tsx b/src/common/confirmation-dialog/confirmation-dialog.tsx index f69679f..ddcaa3b 100644 --- a/src/common/confirmation-dialog/confirmation-dialog.tsx +++ b/src/common/confirmation-dialog/confirmation-dialog.tsx @@ -26,13 +26,12 @@ export default function ConfirmationDialog ( onCancel, maxWidth = 'sm', disableActions = false - }: Props + }: Readonly ) { const confirm = confirmLabel ?? 'OK' const cancel = cancelLabel ?? 'Cancel' - return <> - - - - { - isString(children) - ? - : children - } - - { - !disableActions && - - + + + { + isString(children) + ? + : children + } + + { + !disableActions && +