diff --git a/src/frontend/src/primitives/Dialog.tsx b/src/frontend/src/primitives/Dialog.tsx index b3e077b3..de53fe02 100644 --- a/src/frontend/src/primitives/Dialog.tsx +++ b/src/frontend/src/primitives/Dialog.tsx @@ -91,38 +91,35 @@ export const Dialog = ({ {({ close }) => ( -
- - {!!title && ( - - {title} - - )} - {typeof children === 'function' - ? children({ close }) - : children} - {!isAlert && ( -
- -
- )} -
+ {title} + + )} + {typeof children === 'function' + ? children({ close }) + : children} + {!isAlert && ( +
+ +
+ )} + +
)}