From 3dbf788842eed396d64abbb152abfa0088c6392e Mon Sep 17 00:00:00 2001 From: Sohee Lim Date: Thu, 14 Nov 2024 09:17:39 -0500 Subject: [PATCH] fix: add comment --- src/components/Sidebar/index.tsx | 1 + 1 file changed, 1 insertion(+) 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) => {