We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 716856f commit 5fc6f97Copy full SHA for 5fc6f97
apps/site/next.calendar.mjs
@@ -35,5 +35,5 @@ export const getCalendarEvents = async (calendarId = '', maxResults = 20) => {
35
36
return fetch(calendarQueryUrl.toString())
37
.then(response => response.json())
38
- .then(calendar => calendar.items);
+ .then(calendar => calendar.items ?? []);
39
};
0 commit comments