build fix

This commit is contained in:
alma 2025-05-05 17:41:19 +02:00
parent 9e92efec02
commit 1b63b78a20

View File

@ -70,7 +70,7 @@ export function CalendarWidget() {
// Extract all events and add calendar info
const allEvents = calendarsData.flatMap((calendar) => {
console.log("Calendar Widget - Processing calendar:", calendar.name, "Events:", calendar.events?.length || 0);
return (calendar.events || []).map((event) => {
return (calendar.events || []).map((event: any) => {
const startDate = new Date(event.start);
const endDate = new Date(event.end);
return {