rework/lightweight #12

Merged
GauthierWebDev merged 106 commits from rework/lightweight into main 2025-04-21 16:27:38 +00:00
Showing only changes of commit 74f45b7d64 - Show all commits

View File

@ -65,10 +65,8 @@ export function TableOfContents() {
if (!section.children) return false; if (!section.children) return false;
return ( return (
section.children.findIndex((child) => { section.children.findIndex((child) => child.hash === currentSection()) !==
console.log(child.hash, currentSection()); -1
return child.hash === currentSection();
}) !== -1
); );
} }