diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsx index a1e97908a..34e75ca2d 100644 --- a/src/components/Sidebar/index.tsx +++ b/src/components/Sidebar/index.tsx @@ -4,6 +4,7 @@ import { useDocsData } from '@docusaurus/plugin-content-docs/client' const Sidebar: FC = () => { React.useEffect(() => { + // remove original sidebar const main = document.getElementById('new-main') const sidebars = main.getElementsByTagName('aside') Array.from(sidebars).map((sidebar) => {