diff --git a/docs/src/modules/components/AppNavDrawer.js b/docs/src/modules/components/AppNavDrawer.js index 8ad12a75a348f1..f5a1711605047f 100644 --- a/docs/src/modules/components/AppNavDrawer.js +++ b/docs/src/modules/components/AppNavDrawer.js @@ -322,7 +322,7 @@ export default function AppNavDrawer(props) { const drawer = React.useMemo(() => { const navItems = renderNavItems({ onClose, pages, activePageParents, depth: 0, t }); - const renderVersionSelector = (versions, sx) => { + const renderVersionSelector = (versions) => { if (!versions?.length) { return null; }