Skip to content

Commit d70b8e8

Browse files
fix static build
1 parent 71a5898 commit d70b8e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/material-ui/src/AccordionDetails/AccordionDetails.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const AccordionDetailsRoot = experimentalStyled(
3636
const AccordionDetails = React.forwardRef(function AccordionDetails(inProps, ref) {
3737
const props = useThemeProps({ props: inProps, name: 'MuiAccordionDetails' });
3838
const { className, ...other } = props;
39+
// TODO: convert to simple assignment after the type error in defaultPropsHandler.js:60:6 is fixed
3940
const styleProps = { ...props };
4041

4142
const classes = useUtilityClasses(styleProps);

packages/material-ui/src/SnackbarContent/SnackbarContent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ const SnackbarContentAction = experimentalStyled(
8686
const SnackbarContent = React.forwardRef(function SnackbarContent(inProps, ref) {
8787
const props = useThemeProps({ props: inProps, name: 'MuiSnackbarContent' });
8888
const { action, className, message, role = 'alert', ...other } = props;
89-
const styleProps = props;
89+
// TODO: convert to simple assignment after the type error in defaultPropsHandler.js:60:6 is fixed
90+
const styleProps = { ...props };
9091
const classes = useUtilityClasses(styleProps);
9192

9293
return (

0 commit comments

Comments
 (0)