Attempted to force the app to stay within the valid date ranges. This caused app crashed due to infinite useEffect loops. Added documentation.
This commit is contained in:
1
types/CalenderContext.d.ts
vendored
1
types/CalenderContext.d.ts
vendored
@@ -58,6 +58,5 @@ interface CalenderContextState {
|
||||
selectedDate: Date;
|
||||
title: string;
|
||||
layout: MonthLayout;
|
||||
validDateRange: ValidDateRange;
|
||||
updateDate: (input: UpdateCalendarProps) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user