[hooks/observer][s]: removed unneded comment

This commit is contained in:
olayway 2022-06-07 13:04:45 +02:00
parent 5524c73614
commit ba190c7f1e
1 changed files with 0 additions and 3 deletions

View File

@ -41,9 +41,6 @@ const useHeadingsObserver = () => {
};
}, []);
/* On initial render activeHeading will be `null`, since the observer
* has not been instantiated yet. However, we still want to highlight
* the current heading in the ToC based on the current url. */
useEffect(() => {
if (!activeHeading) {
return;