From 8f2621f384f7e9f4a3f00a1ef34615bc485b4f04 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 5 May 2025 17:44:07 +0200 Subject: [PATCH] build fix --- components/calendar/calendar-widget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/calendar/calendar-widget.tsx b/components/calendar/calendar-widget.tsx index 9654aa30..465b2b7e 100644 --- a/components/calendar/calendar-widget.tsx +++ b/components/calendar/calendar-widget.tsx @@ -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: any) => { + return (calendar.events || []).map((event: { id: string; title: string; start: string | Date; end: string | Date; isAllDay: boolean; calendarId: string }) => { const startDate = new Date(event.start); const endDate = new Date(event.end); return {