From 4adf989c85e3aa08bc88b39698eaaad53b589eb1 Mon Sep 17 00:00:00 2001 From: Nicholas Kwon Date: Thu, 15 Sep 2022 16:24:25 -0700 Subject: [PATCH] remove fromMonth to nav to previous months --- client/components/common/ReactDayPicker/ReactDayPicker.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/components/common/ReactDayPicker/ReactDayPicker.jsx b/client/components/common/ReactDayPicker/ReactDayPicker.jsx index 6de6be98e..38a978266 100644 --- a/client/components/common/ReactDayPicker/ReactDayPicker.jsx +++ b/client/components/common/ReactDayPicker/ReactDayPicker.jsx @@ -66,7 +66,6 @@ function ReactDayPicker({ className="Range" disabledDays={{ before: lastThreeMonths, after: today }} numberOfMonths={1} - fromMonth={from} selectedDays={[from, { from, to: enteredToDate }]} modifiers={{ start: from, end: enteredToDate }} onDayClick={handleDayClick}