diff --git a/site/hooks/useHeadingsObserver.js b/site/hooks/useHeadingsObserver.js index 83a5d9d..e197c02 100644 --- a/site/hooks/useHeadingsObserver.js +++ b/site/hooks/useHeadingsObserver.js @@ -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;