In AttendanceLog When we select a date range picker then api is not call after updation now its working properly.

This commit is contained in:
Kartik Sharma 2025-08-18 16:11:02 +05:30
parent 7283140a3a
commit b45a4eb553

View File

@ -31,7 +31,7 @@ const DateRangePicker = ({
clickOpens: true,
maxDate: endDate,
onChange: (selectedDates, dateStr) => {
const [startDateString, endDateString] = dateStr.split(" To ");
const [startDateString, endDateString] = dateStr.split(" to ");
onRangeChange?.({ startDate: startDateString, endDate: endDateString });
},
});