From 960545fe879b62d1c65c5329145cdc77301867d9 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Thu, 19 Sep 2024 01:30:19 +0300 Subject: [PATCH] Wait for tracks to load before rendering events --- src/Schedule.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schedule.jsx b/src/Schedule.jsx index 4babc76..ab2382e 100644 --- a/src/Schedule.jsx +++ b/src/Schedule.jsx @@ -25,7 +25,7 @@ export default function Schedule({ padding: '4px 0', }}>{track.name[lang]} )} - {events && Object.entries(events).map(([eventId, event]) =>
+ {events && tracks && Object.entries(events).map(([eventId, event]) =>

{event.title} {event.participant_user_ids && !isTrackHidden(tracks[event.track_id]) && speakers && <>