Increase the number of recommended videos shown on the video page
Updated the API call in VideoPage.tsx to fetch 150 recommended videos instead of 20. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 344ec1e0-1186-4058-bbff-2e9619a7b1e0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/344ec1e0-1186-4058-bbff-2e9619a7b1e0/zJYuV6w
This commit is contained in:
parent
0aaabb1998
commit
03b851afa9
@ -71,7 +71,7 @@ export default function VideoPage() {
|
||||
// Fetch recommended videos (excluding current video)
|
||||
const { data: recommendedResponse } = useQuery<VideosResponse>({
|
||||
queryKey: ["/api/videos"],
|
||||
queryFn: () => fetch("/api/videos?limit=20&offset=0").then(res => res.json()),
|
||||
queryFn: () => fetch("/api/videos?limit=150&offset=0").then(res => res.json()),
|
||||
enabled: !!videoId,
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user