Increase the number of videos displayed on the home page
Update the home page query to fetch 600 videos instead of 150. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/t0D2bHg
This commit is contained in:
parent
675e61c1da
commit
9852187ee8
@ -21,7 +21,7 @@ export default function Home() {
|
|||||||
// Fetch videos with optimized loading
|
// Fetch videos with optimized loading
|
||||||
const { data: videosResponse, isLoading, refetch } = useQuery<VideosResponse>({
|
const { data: videosResponse, isLoading, refetch } = useQuery<VideosResponse>({
|
||||||
queryKey: ["/api/videos", {
|
queryKey: ["/api/videos", {
|
||||||
limit: 150,
|
limit: 600,
|
||||||
offset: 0,
|
offset: 0,
|
||||||
search: searchQuery || undefined
|
search: searchQuery || undefined
|
||||||
}],
|
}],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user