import Empty from '../state/Empty'; import { useSchedule } from './ScheduleContext'; import ScheduleItem from './ScheduleItem'; import './Schedule.scss'; interface ScheduleProps { isProduction?: boolean; className?: string; } export default function Schedule({ isProduction, className }: ScheduleProps) { const { paginatedEvents, selectedEventId, isBackstage, scheduleType } = useSchedule(); if (paginatedEvents?.length < 1) { return ; } let selectedState: 'past' | 'now' | 'future' = 'past'; return ( ); }