Add debugging logs to the video grid component
Add console logs to NetflixGrid component to display video count and category details for debugging purposes. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/vbVxnR5
This commit is contained in:
parent
6db85a98cf
commit
db4b3c0cf0
@ -102,6 +102,10 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
}
|
||||
|
||||
const categories = getCategories();
|
||||
|
||||
// Debug logging
|
||||
console.log('Videos count:', videos.length);
|
||||
console.log('Categories:', categories.map(c => ({ title: c.title, videoCount: c.videos.length })));
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user