diff --git a/attached_assets/image_1758901895847.png b/attached_assets/image_1758901895847.png new file mode 100644 index 0000000..c9977a6 Binary files /dev/null and b/attached_assets/image_1758901895847.png differ diff --git a/client/src/pages/LivePage.tsx b/client/src/pages/LivePage.tsx index f95ce9e..a8b4b49 100644 --- a/client/src/pages/LivePage.tsx +++ b/client/src/pages/LivePage.tsx @@ -30,7 +30,7 @@ export default function LivePage() { staleTime: 5 * 60 * 1000, // 5 minutes }); - const videos = videosData?.videos || []; + const videos = (videosData && Array.isArray(videosData.videos)) ? videosData.videos : []; useEffect(() => { // Set page meta tags @@ -38,7 +38,7 @@ export default function LivePage() { const metaDescription = document.querySelector('meta[name="description"]'); if (metaDescription) { - metaDescription.setAttribute('content', 'Živý prenos na video.folx.tv - sledujte exkluzívny obsah v reálnom čase.'); + metaDescription.setAttribute('content', 'Live stream on video.folx.tv - watch exclusive content in real time.'); } const updateMetaTag = (property: string, content: string) => { @@ -52,7 +52,7 @@ export default function LivePage() { }; updateMetaTag('og:title', 'LIVE Stream - video.folx.tv'); - updateMetaTag('og:description', 'Živý prenos na video.folx.tv - sledujte exkluzívny obsah v reálnom čase.'); + updateMetaTag('og:description', 'Live stream on video.folx.tv - watch exclusive content in real time.'); updateMetaTag('og:type', 'video.other'); }, []); @@ -408,16 +408,13 @@ export default function LivePage() { {/* Sidebar - Suggested Videos */}
-

Predlagani videi

+

Suggested Videos

{videos.slice(0, 8).map((video: any) => (
window.location.href = `/video/${video.id}`} className="hover:bg-bunny-dark/50 transition-colors rounded-lg" />