Removing stale comment

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-03-11 10:50:21 +03:00
1 parent fb8f5cfc82
commit 7a6d82fd05
1 file changed
-3
@@ -64,9 +64,6 @@ export function ScrollSpy(props: Props) {
const observeSections = () => {
const options: IntersectionObserverInit = {
threshold: [0],
// Shrinking root area from the bottom
// Allows to fire observer event only if target scrolled up to top of the page)
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer
rootMargin: props.rootMargin,
};