Convert CreateEventBtn to Typescript

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-03-18 21:02:25 +01:00
1 parent 724ae99b29
commit fe814118b0
2 files changed
+10 -9

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ export type EventGroup = {
export type EventContextType = {
events: EventGroup[];
updateEvent: () => void;
addEvent: (name: string, description: string, start: string, end: string) => Promise<void>;
};
export const EventContext = createContext<EventContextType | null>(null);