diff --git a/src/frontend/src/primitives/Dialog.tsx b/src/frontend/src/primitives/Dialog.tsx index 02e2bf47..b3e077b3 100644 --- a/src/frontend/src/primitives/Dialog.tsx +++ b/src/frontend/src/primitives/Dialog.tsx @@ -60,6 +60,7 @@ export type DialogProps = RACDialogProps & { * after user interaction */ onOpenChange?: (isOpen: boolean) => void + type?: 'flex' } export const Dialog = ({ @@ -71,6 +72,7 @@ export const Dialog = ({ ...dialogProps }: DialogProps) => { const isAlert = dialogProps['role'] === 'alertdialog' + const boxType = dialogProps['type'] !== 'flex' ? 'dialog' : undefined return ( - + {!!title && (