Skip to content

Commit

Permalink
chore: remove unwanted logs (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
YounixM authored Jan 8, 2025
1 parent cc8feb3 commit fea1c2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/DocsSidebar/DocsSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ const DocsSidebar: React.FC<DocsSidebarProps> = ({ onNavItemClick }) => {

const parents = getParents(docsSideNav, normalizedRoute)

console.log('parents', parents)

for (const parent of parents) {
toggleIsExpandedByLabel(parent, true)
}
Expand All @@ -85,8 +83,6 @@ const DocsSidebar: React.FC<DocsSidebarProps> = ({ onNavItemClick }) => {
const elementId = `#${pathname.substring(0, pathname.length - 1)}`
const element = document.getElementById(elementId)

console.log('element', elementId)

if (element) {
element.scrollIntoView({
behavior: 'smooth',
Expand Down

0 comments on commit fea1c2a

Please sign in to comment.