Skip to content

Commit

Permalink
fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
limsohee1002 committed Nov 14, 2024
1 parent 66324b3 commit 3dbf788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 3dbf788

Please sign in to comment.