build fix
This commit is contained in:
parent
1b63b78a20
commit
8f2621f384
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user