From 03b851afa963aa07b4341183d2528dcd7175be31 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 23:07:20 +0000 Subject: [PATCH] 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 --- client/src/pages/VideoPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index f70a34c..7a8b190 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -71,7 +71,7 @@ export default function VideoPage() { // Fetch recommended videos (excluding current video) const { data: recommendedResponse } = useQuery({ 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, });