From ba190c7f1ef09bacc8f37e3cd4f5aa7ae0fa382e Mon Sep 17 00:00:00 2001 From: olayway Date: Tue, 7 Jun 2022 13:04:45 +0200 Subject: [PATCH] [hooks/observer][s]: removed unneded comment --- site/hooks/useHeadingsObserver.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/site/hooks/useHeadingsObserver.js b/site/hooks/useHeadingsObserver.js index 83a5d9db..e197c027 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;