Delay, and lazily load Marquees

This commit is contained in:
Belen Curcio 2020-11-05 18:07:50 -03:00
parent cc72658c99
commit 5bbcef00a7

View File

@ -27,7 +27,7 @@ const Maquee: FC<Props> = ({
triggerOnce: true,
rootMargin: '200px 0px',
})
console.log(inView)
return (
<div className={rootClassName} ref={ref}>
{inView ? (