diff --git a/components/Dialog.tsx b/components/Dialog.tsx
index 86e4de64a0..2b13849f9f 100644
--- a/components/Dialog.tsx
+++ b/components/Dialog.tsx
@@ -6,7 +6,7 @@ export function Dialog(props: DialogProps) {
const { children, ...other } = props;
return (
-
+
{children}
);
@@ -17,7 +17,7 @@ export const DialogContent = React.forwardRef (
{children}
@@ -32,10 +32,10 @@ type DialogHeaderProps = {
export function DialogHeader(props: DialogHeaderProps) {
return (
-
+
{props.title}
- {props.subtitle &&
{props.subtitle}
}
+ {props.subtitle && {props.subtitle}
}
);
}
@@ -43,7 +43,7 @@ export function DialogHeader(props: DialogHeaderProps) {
export function DialogFooter(props: { children: ReactNode }) {
return (
-
{props.children}
+
{props.children}
);
}