mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-04 23:19:43 +00:00
add test thing if anyone wants it
This commit is contained in:
parent
c34ce8a270
commit
e93eaa78e3
1 changed files with 8 additions and 0 deletions
|
|
@ -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 ? (
|
||||
|
|
|
|||
Loading…
Reference in a new issue