Improve search functionality for video content by removing unnecessary logs

Remove console logs from the FolxStadlPage component to clean up the output and improve performance.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ab9cd02a-d0b2-4288-9ceb-1964d0059648
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/ab9cd02a-d0b2-4288-9ceb-1964d0059648/pSwkS7z
This commit is contained in:
sebastjanartic 2025-09-01 05:05:10 +00:00
parent 917e6b1a20
commit fea2730de5

View File

@ -42,14 +42,10 @@ export default function FolxStadlPage() {
const videos = data?.videos || [];
console.log('Total videos received:', videos.length);
// Filter all FOLX STADL videos (including all seasons and formats)
let folxStadlVideos = videos.filter(video =>
video.title.includes("FOLX STADL") || video.title.includes("FOLXSTADL")
);
console.log('FOLX STADL videos after filter:', folxStadlVideos.length);
// Apply search filter if search query exists
if (searchQuery && searchQuery.length >= 2) {
@ -58,7 +54,6 @@ export default function FolxStadlPage() {
video.title.toLowerCase().includes(searchLower) ||
video.description?.toLowerCase().includes(searchLower)
);
console.log('FOLX STADL videos after search filter:', folxStadlVideos.length);
}
// Pagination logic