diff --git a/src/hooks/useScheduleTable.js b/src/hooks/useScheduleTable.js index a991881..e4b612c 100644 --- a/src/hooks/useScheduleTable.js +++ b/src/hooks/useScheduleTable.js @@ -14,7 +14,7 @@ export default function useScheduleTable({ cells: [{ id: 1, attributes: { - className: 'schedule-'.concat(event.language).concat(' ').concat(event.track.css_class), + className: 'schedule-'.concat(event.language).concat(' ').concat(event.track?.css_class), colSpan: 2, }, event,