We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9855f2 commit 04c14f8Copy full SHA for 04c14f8
1 file changed
src/app/day/2026/components/schedule/schedule-list.tsx
@@ -143,7 +143,8 @@ export function ScheduleList({
143
144
const firstDay = Object.values(filteredSessions)[0]
145
// if the first day has less than 3 sessions, it's probably a "day zero" with extra events or workshops
146
- const firstDayIsDayZero = Object.keys(firstDay).length < 3
+ const firstDayIsDayZero =
147
+ firstDay != null && Object.keys(firstDay).length < 3
148
const startIndex = firstDayIsDayZero ? 0 : 1
149
150
const { getTimeMarker } = useCurrentTimeMarker(conferenceStart, conferenceEnd)
0 commit comments