diff --git a/src/components/EventCalendar/index.jsx b/src/components/EventCalendar/index.jsx index 14f474e..a7ff0d7 100644 --- a/src/components/EventCalendar/index.jsx +++ b/src/components/EventCalendar/index.jsx @@ -377,7 +377,8 @@ export default function EventCalendar({ events, location, lang }) { } - {(widgetWeekGroups + {(weekState.widgetIndex >= 0 + && widgetWeekGroups && widgetWeekGroups.length > 0 && widgetWeekGroups[weekState.widgetIndex].week === weekState.week && widgetWeekGroups[weekState.widgetIndex].widgets.map((eventWidget, ei) => (