Convert CreateEventBtn to Typescript

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2026-03-18 21:02:25 +01:00
parent 724ae99b29
commit fe814118b0
2 changed files with 10 additions and 9 deletions
+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);