mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Delay, and lazily load Marquees
This commit is contained in:
parent
cc72658c99
commit
5bbcef00a7
@ -27,7 +27,7 @@ const Maquee: FC<Props> = ({
|
||||
triggerOnce: true,
|
||||
rootMargin: '200px 0px',
|
||||
})
|
||||
console.log(inView)
|
||||
|
||||
return (
|
||||
<div className={rootClassName} ref={ref}>
|
||||
{inView ? (
|
||||
|
Loading…
x
Reference in New Issue
Block a user