Skip to content

Commit d39edaa

Browse files
b-yogeshforman
andauthored
Apply suggestions from code review
Co-authored-by: Norman Fomferra <[email protected]>
1 parent 4bbc5f1 commit d39edaa

File tree

1 file changed

+4
-8
lines changed
  • chartlets.js/packages/lib/src/plugins/mui

1 file changed

+4
-8
lines changed

chartlets.js/packages/lib/src/plugins/mui/Dialog.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,12 @@ export const Dialog = ({
7777
aria-describedby={ariaDescribedBy}
7878
>
7979
{title && (
80-
<>
81-
<DialogTitle {...titleProps}>{title}</DialogTitle>
82-
</>
80+
<DialogTitle {...titleProps}>{title}</DialogTitle>
8381
)}
8482
{content && (
85-
<>
86-
<DialogContent {...contentProps}>
87-
<DialogContentText>{content}</DialogContentText>
88-
</DialogContent>
89-
</>
83+
<DialogContent {...contentProps}>
84+
<DialogContentText>{content}</DialogContentText>
85+
</DialogContent>
9086
)}
9187
{nodes && (
9288
<DialogActions>

0 commit comments

Comments
 (0)