diff --git a/components/schedule.js b/components/schedule.js index 9500a82..ff8b44e 100644 --- a/components/schedule.js +++ b/components/schedule.js @@ -128,10 +128,8 @@ const ConferenceSchedule = () => { >
{currentSchedule.schedule.map((scheduleItem, idx) => { - const isLive = (selectedTab == defaultScheduleIndex && isEventLive(scheduleItem.time)); return ( { ); }; -function ScheduleCard({ time, date, talks, scheduleIdx, isLive }) { +function ScheduleCard({ time, date, talks, scheduleIdx }) { return (
@@ -180,7 +178,6 @@ function ScheduleCard({ time, date, talks, scheduleIdx, isLive }) { const talkLength = talks.length; return ( { setSelectedSpeakerId(id); @@ -281,14 +278,14 @@ function ScheduleTalk({ title, speakers, track, size, proposalLink, isLive }) { {getTrackRoom(track)} - {isLive && ( + {/* {isLive && ( Live - )} + )} */} )}
@@ -303,7 +300,6 @@ function ScheduleAccordion({ defaultScheduleIndex, id, handleTabClick, - isLive, }) { const [selectedSpeakerId, setSelectedSpeakerId] = useState(null); const handleOpenSpeakerModal = (id) => { @@ -319,7 +315,7 @@ function ScheduleAccordion({ {date} {currentSchedule.schedule.map((scheduleItem, scheduleIdx) => { - const isLive = (defaultScheduleIndex == id && isEventLive(scheduleItem.time)); + // const isLive = (defaultScheduleIndex == id && isEventLive(scheduleItem.time)); return scheduleItem.talks.map((talk, idx) => { return ( {scheduleItem.time} - {isLive && ( + {/* {isLive && ( Live - )} + )} */} {talk.proposalLink ? (