From 59cc49db3d1e96c137d02f14b2b9d87030b2f3e8 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Sun, 22 Sep 2024 15:05:07 +0300 Subject: [PATCH] Fix for missing property --- src/hooks/useScheduleTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,