Log video clicks for better debugging and analysis

Add a console log to the handleVideoClick function in NetflixGrid.tsx to log the clicked video's title.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/DVZN4Rp
This commit is contained in:
sebastjanartic 2025-08-30 14:05:50 +00:00
parent 3e44572079
commit 722b561f8d

View File

@ -20,6 +20,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
const [isModalOpen, setIsModalOpen] = useState(false);
const handleVideoClick = (video: Video) => {
console.log('Video clicked:', video.title);
setSelectedVideo(video);
setIsModalOpen(true);
};