From e93eaa78e3b86d40e02957194eebce22fa501cdb Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:20:46 -0700 Subject: [PATCH] add test thing if anyone wants it --- src/pages/discover/components/LazyMediaCarousel.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/discover/components/LazyMediaCarousel.tsx b/src/pages/discover/components/LazyMediaCarousel.tsx index 67594d24..82d98379 100644 --- a/src/pages/discover/components/LazyMediaCarousel.tsx +++ b/src/pages/discover/components/LazyMediaCarousel.tsx @@ -47,6 +47,14 @@ export function LazyMediaCarousel({ const categoryName = category?.name || genre?.name || ""; + // Test intersection observer + // useEffect(() => { + // // eslint-disable-next-line no-console + // console.log( + // `Carousel ${categoryName}: ${isIntersecting ? "loaded ✅" : "unloaded ❌"}`, + // ); + // }, [isIntersecting, categoryName]); + return (