fixed # anchor not working
This commit is contained in:
parent
91401f083d
commit
9c42cb73a6
1 changed files with 0 additions and 2 deletions
|
@ -101,8 +101,6 @@ const ReadProgress = () => {
|
|||
// update on path change
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
window.scrollTo({ top: 0, behavior: "smooth" })
|
||||
|
||||
scrollHandler()
|
||||
}, 100)
|
||||
}, [location])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue