Fixed some bugs

One issue was a missing ui component and the other was about the previous commit's changes with startDate
This commit is contained in:
Alexis
2024-05-01 14:47:06 +02:00
parent 87df080857
commit e9c14f355d
6 changed files with 12 additions and 20 deletions

View File

@@ -34,5 +34,5 @@ export const calendarEventCategories = [
export type CalendarEventCategory = (typeof calendarEventCategories)[number]
export function isCalendarEvent(object: any): object is CalendarEvent {
return 'date' in object
return 'startDate' in object
}