Skip to content

Commit

Permalink
remove fromMonth to nav to previous months
Browse files Browse the repository at this point in the history
  • Loading branch information
nichhk committed Sep 15, 2022
1 parent a4ec302 commit 4adf989
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/components/common/ReactDayPicker/ReactDayPicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4adf989

Please sign in to comment.