Skip to content

Commit

Permalink
Merge branch '22.x-stable' into fix-pasttimepicker-onclear
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker90 authored Jul 4, 2024
2 parents 9e7fc5c + 1a11b45 commit 31ab2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/past-time-picker/PastTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const PastTimePicker = (props: PastTimePickerProps) => {

const [controlledVisible, setControlledVisible] = useControlledState(popoverVisible, false);

const [timeRange, setTimeRange] = useControlledState<string | undefined>(value, undefined);
const [timeRange, setTimeRange] = useControlledState<string | undefined | null>(value, undefined);

const QUICK_MAPPING = {
'day:1,0': todayText,
Expand Down

0 comments on commit 31ab2e0

Please sign in to comment.