diff --git a/types/CalenderContext.d.ts b/types/CalenderContext.d.ts index 7655514..a8f4632 100644 --- a/types/CalenderContext.d.ts +++ b/types/CalenderContext.d.ts @@ -29,11 +29,6 @@ interface Month { week6: MonthDay[]; } -interface MonthInfo { - date: Date; - title: string; -} - interface WeekLayout { weekdays: DaysOfWeek; month: Month; @@ -44,21 +39,8 @@ interface MonthLayout { monday: WeekLayout; } -interface MonthContext extends MonthInfo { - layout: MonthLayout; -} - interface UpdateCalendarProps { year: number; month: number; day: number; } - -interface CalenderContextState { - currDate: Date; - setCurrDate: React.Dispatch>; - selectedDate: Date; - title: string; - layout: MonthLayout; - updateDate: (input: UpdateCalendarProps) => void; -}