diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index e459b59..eda86e8 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -146,10 +146,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { const scroll = (direction: 'left' | 'right') => { // Only move one step when clicked (no speed change here) const step = direction === 'right' ? -videoWidth : videoWidth; - setTranslateX(prev => { - console.log(`Scroll ${direction}: ${prev} + ${step} = ${prev + step}`); - return prev + step; - }); + setTranslateX(prev => prev + step); }; const toggleSpeed = (direction: 'left' | 'right') => { @@ -229,7 +226,6 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { onClick={(e) => { e.preventDefault(); e.stopPropagation(); - console.log('LEFT BUTTON CLICKED!'); scroll('left'); }} onMouseEnter={(e) => { @@ -251,7 +247,6 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { onClick={(e) => { e.preventDefault(); e.stopPropagation(); - console.log('RIGHT BUTTON CLICKED!'); scroll('right'); }} onMouseEnter={(e) => {