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:
Lucid Kobold
2022-03-26 02:49:14 -05:00
parent 39b9a13e39
commit d8c9db9475
4 changed files with 70 additions and 33 deletions

View File

@@ -58,6 +58,5 @@ interface CalenderContextState {
selectedDate: Date;
title: string;
layout: MonthLayout;
validDateRange: ValidDateRange;
updateDate: (input: UpdateCalendarProps) => void;
}