diff --git a/src/Schedule/Schedule.jsx b/src/Schedule/Schedule.jsx index 95ad4b3..a283083 100644 --- a/src/Schedule/Schedule.jsx +++ b/src/Schedule/Schedule.jsx @@ -19,7 +19,7 @@ export default function Schedule({ speakers: allSpeakers, tracks: allTracks, eventTypes, - halls, + halls: allHalls, events: allEvents, slots, isLoading, @@ -30,16 +30,16 @@ export default function Schedule({ const [eventTypeId, setEventTypeId] = useState(0); const { - header, rows, speakers, tracks, + halls, events, } = useScheduleTable({ eventTypeId, speakers: allSpeakers, tracks: allTracks, - halls, + halls: allHalls, events: allEvents, slots, }); @@ -55,10 +55,10 @@ export default function Schedule({
- {header.map(hall => | {hall.name[lang]} | )} + {halls.map(hall =>{hall.name[lang]} | )}
---|---|---|
{hall.name[lang]} | )} + {halls.map(hall =>{hall.name[lang]} | )}