diff --git a/src/Schedule/Schedule.jsx b/src/Schedule/Schedule.jsx
index ddde193..8871f22 100644
--- a/src/Schedule/Schedule.jsx
+++ b/src/Schedule/Schedule.jsx
@@ -1,7 +1,7 @@
import PropTypes from 'prop-types';
import useSchedule from '../hooks/useSchedule.js';
import { getSpeakerName, isTrackHidden } from './utils.js';
-import { Fragment } from 'react';
+import { Fragment, useState } from 'react';
import useScheduleTable from '../hooks/useScheduleTable.js';
import Event from './Event.jsx';
import defaultSpeaker from '../assets/default-speaker.png';
@@ -17,6 +17,7 @@ export default function Schedule({
const {
speakers,
tracks,
+ eventTypes,
halls,
events,
slots,
@@ -25,25 +26,32 @@ export default function Schedule({
isComplete,
} = useSchedule(conferenceId);
+ const [eventTypeId, setEventTypeId] = useState(0);
+
const {
header,
rows,
} = useScheduleTable({
- tracks,
+ eventTypeId,
halls,
events,
slots,
});
return (<>
+ {isComplete && }
{isLoading &&