add test thing if anyone wants it

This commit is contained in:
Pas 2025-02-28 22:20:46 -07:00
parent c34ce8a270
commit e93eaa78e3

View file

@ -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 (
<div ref={targetRef as React.RefObject<HTMLDivElement>}>
{isIntersecting ? (