diff --git a/docs/src/partials/sidebar/index.js b/docs/src/partials/sidebar/index.js index d86817599..988129e2b 100644 --- a/docs/src/partials/sidebar/index.js +++ b/docs/src/partials/sidebar/index.js @@ -112,7 +112,7 @@ const defaultProps = { } const Sidebar = (_props) => { - const props = {...defaultProps,_props} + const props = {...defaultProps, ..._props} const { className, content, onCloseClick } = props const location = useLocation(); const [filteredResults, setFilteredResults] = useState(content);