Fondation
This commit is contained in:
parent
11398f75ce
commit
86b40479c7
@ -119,7 +119,7 @@ export function Calendar() {
|
||||
setEvents(upcomingEvents);
|
||||
|
||||
// Dispatch event for Outlook-style notifications (when events start)
|
||||
const eventsForNotification = upcomingEvents.map(evt => ({
|
||||
const eventsForNotification = upcomingEvents.map((evt: Event) => ({
|
||||
id: evt.id,
|
||||
title: evt.title,
|
||||
start: evt.start instanceof Date ? evt.start : new Date(evt.start),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user