diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 7ce8c6a..037c5f4 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -336,31 +336,32 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { transition: 'transform 0.3s ease' }} > - {/* Many copies for true infinite scroll */} - {[...Array(10)].flatMap(() => category.videos).map((video, index) => { - const actualIndex = index % category.videos.length; - return ( -
- {/* Top 10 Number overlay for first category */} - {category.title.includes("Top 10") && ( -
- {actualIndex + 1} -
- )} - + {/* Simple list to test movement */} + {category.videos.map((video, index) => ( +
+ {/* Top 10 Number overlay for first category */} + {category.title.includes("Top 10") && ( +
+ {index + 1} +
+ )} + + {/* Debug number to see movement */} +
+ {index + 1}
- ); - })} +
+ ))}