diff --git a/src/Schedule/Schedule.jsx b/src/Schedule/Schedule.jsx index e4ec9ff..cc41a01 100644 --- a/src/Schedule/Schedule.jsx +++ b/src/Schedule/Schedule.jsx @@ -53,39 +53,41 @@ export default function Schedule({ {isLoading && } {isComplete &&

- - {header.length > 0 && - - {header.map(hall => )} - - } - - {rows.map(row => - {row.cells.map(cell => )} - )} - - {header.length > 0 && - - {header.map(hall => )} - - } -
{hall.name[lang]}
- {cell.dateHeader && } - {cell.timeSlot && } - {cell.event && } -
{hall.name[lang]}
-
- - - {tracks.filter(track => !isTrackHidden(track)).map(track => - - )} - {Object.entries(langs).map(([langId, langName]) => - - )} - -
{track.name[lang]}
{langName}
-
+ {rows.length > 0 && <> + + {header.length > 0 && + + {header.map(hall => )} + + } + + {rows.map(row => + {row.cells.map(cell => )} + )} + + {header.length > 0 && + + {header.map(hall => )} + + } +
{hall.name[lang]}
+ {cell.dateHeader && } + {cell.timeSlot && } + {cell.event && } +
{hall.name[lang]}
+
+ + + {tracks.filter(track => !isTrackHidden(track)).map(track => + + )} + {Object.entries(langs).map(([langId, langName]) => + + )} + +
{track.name[lang]}
{langName}
+
+ } {events.map(event =>

{event.title}