Skip to content

Commit 0e206ac

Browse files
committed
chore: 코드 정리
1 parent e756cdf commit 0e206ac

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/common/src/components/mdx_components/styled_details.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ type BaseStyledDetailsProps = StyledDetailsProps & {
2828

2929
const BaseStyledDetails: React.FC<BaseStyledDetailsProps> = ({
3030
expandIcon,
31-
expanded,
32-
onChange,
3331
summary,
3432
children,
3533
actions,
@@ -63,15 +61,7 @@ const BaseStyledDetails: React.FC<BaseStyledDetailsProps> = ({
6361
}));
6462

6563
return (
66-
<StyledAccordion
67-
{...props}
68-
expanded={expanded}
69-
onChange={onChange}
70-
disableGutters
71-
square
72-
elevation={0}
73-
slotProps={{ root: { sx: rootSx } }}
74-
>
64+
<StyledAccordion {...props} disableGutters square elevation={0} slotProps={{ root: { sx: rootSx } }}>
7565
<StyledAccordionSummary expandIcon={expandIcon || <DefaultExpandIcon />}>
7666
{typeof summary === "string" ? <Typography variant="h5">{summary}</Typography> : summary}
7767
</StyledAccordionSummary>

0 commit comments

Comments
 (0)