Convert Header to Typescript
This commit is contained in:
@@ -16,6 +16,7 @@ export type EventGroup = {
|
||||
|
||||
export type EventContextType = {
|
||||
events: EventGroup[];
|
||||
updateEvent: () => void;
|
||||
};
|
||||
|
||||
export const EventContext = createContext<EventContextType | null>(null);
|
||||
Reference in New Issue
Block a user