mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 04:14:18 +00:00
🐛 bug: useEffect in Scroll to Top
:%s
This commit is contained in:
parent
5ecc7d8e74
commit
87c9a5ffc1
@ -34,7 +34,7 @@ const ScrollToTop = ({ visibilityHeight=450 }: ScrollToTopProps) => {
|
||||
|
||||
useEffect(() => {
|
||||
addEventScroll();
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className={classNames(s.scrollToTop, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user