docs: fix scroll + divider issues (#9663)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-10-21 09:54:05 +03:00
1 parent 34621f53a3
commit b4855825be
8 files changed
+73 -28

No files matched your search

@@ -36,7 +36,7 @@ export const usePageScrollManager = () => {
targetElm?.scrollIntoView()
}
}, [pathname, scrollableElement])
}, [pathname, scrollableElement, checkedPageReload])
useEffect(() => {
if (!scrollableElement || checkedPageReload) {
@@ -71,5 +71,5 @@ export const usePageScrollManager = () => {
)
}
})
}, [scrollableElement])
}, [scrollableElement, checkedPageReload])
}