Compare commits

..

No commits in common. "a14f2b0738ef62658240343ffdc68668bcac0d35" and "6dc6ee6f3c1bff3d8e7b13185b63a06c0442078a" have entirely different histories.

View File

@ -27,7 +27,6 @@ const DateRangePicker = ({
defaultDate: [startDate, endDate], defaultDate: [startDate, endDate],
static: true, static: true,
clickOpens: true, clickOpens: true,
maxDate: endDate, // Disable future dates
onChange: (selectedDates, dateStr) => { onChange: (selectedDates, dateStr) => {
const [startDateString, endDateString] = dateStr.split(" to "); const [startDateString, endDateString] = dateStr.split(" to ");
onRangeChange?.({ startDate: startDateString, endDate: endDateString }); onRangeChange?.({ startDate: startDateString, endDate: endDateString });