mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-02 22:01:52 +00:00
Updated ShortUrlsFilteringBar test
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import DateInput from '../DateInput';
|
||||
import { DateRange } from './types';
|
||||
import { endOfDay } from 'date-fns';
|
||||
|
||||
interface DateRangeRowProps extends DateRange {
|
||||
onStartDateChange: (date: Date | null) => void;
|
||||
@@ -29,7 +30,7 @@ const DateRangeRow = (
|
||||
isClearable
|
||||
minDate={startDate ?? undefined}
|
||||
disabled={disabled}
|
||||
onChange={onEndDateChange}
|
||||
onChange={(date) => onEndDateChange(date && endOfDay(date))}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user