diff --git a/docs/src/pages/customization/default-theme/DefaultTheme.js b/docs/src/pages/customization/default-theme/DefaultTheme.js index cbe14be6bd157e..8116b0a84551a7 100644 --- a/docs/src/pages/customization/default-theme/DefaultTheme.js +++ b/docs/src/pages/customization/default-theme/DefaultTheme.js @@ -135,7 +135,7 @@ ObjectEntry.propTypes = { }; function Inspector(props) { - const { data, expandPaths } = props; + const { data, expandPaths, ...other } = props; const keyPrefix = '$ROOT'; const defaultExpanded = React.useMemo(() => { @@ -153,6 +153,7 @@ function Inspector(props) { defaultEndIcon={
} defaultExpanded={defaultExpanded} defaultExpandIcon={