diff --git a/components/BeamCalls.tsx b/components/BeamCalls.tsx index aee80e6..3962f5d 100644 --- a/components/BeamCalls.tsx +++ b/components/BeamCalls.tsx @@ -3,7 +3,7 @@ import { ExternalLink, FileText, ListChecks, Play, Presentation } from 'lucide-r import { Card, CardContent, CardFooter } from '@/components/ui/primitives'; import { Button } from '@/components/ui/Button'; import Link from 'next/link'; -import { BeamCall, beamCallsData } from '@/data/beam-calls'; +import { BeamCall, beamCallsData, determineBeamCallStatus } from '@/data/beam-calls'; // Helper function to extract YouTube video ID from URL function getYoutubeVideoId(url: string): string | null { @@ -33,101 +33,107 @@ export function BeamCalls() { return (
{beamCallsData.map((call) => ( - -
- {call.youtubeUrl !== '#' && getYoutubeVideoId(call.youtubeUrl) ? ( -
-