diff --git a/packages/react/dialog/src/Dialog.tsx b/packages/react/dialog/src/Dialog.tsx index 0265684581..7ecf908c80 100644 --- a/packages/react/dialog/src/Dialog.tsx +++ b/packages/react/dialog/src/Dialog.tsx @@ -247,8 +247,7 @@ DialogContent.displayName = CONTENT_NAME; /* -----------------------------------------------------------------------------------------------*/ type DialogContentTypeElement = DialogContentImplElement; -interface DialogContentTypeProps - extends Omit {} +interface DialogContentTypeProps extends Omit {} const DialogContentModal = React.forwardRef( (props: ScopedProps, forwardedRef) => { @@ -264,12 +263,12 @@ const DialogContentModal = React.forwardRef { event.preventDefault(); context.triggerRef.current?.focus(); @@ -303,10 +302,10 @@ const DialogContentNonModal = React.forwardRef { props.onCloseAutoFocus?.(event);