fix: 🐛
This commit is contained in:
parent
8582f28315
commit
e3c8dc838d
2 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ const SecondaryPageLayout = forwardRef(
|
|||
|
||||
useEffect(() => {
|
||||
if (isSmallScreen) {
|
||||
window.scrollTo({ top: 0 })
|
||||
setTimeout(() => window.scrollTo({ top: 0 }), 0)
|
||||
return
|
||||
}
|
||||
}, [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue