Skip to content

Commit

Permalink
chore: refix Range type
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Dec 7, 2023
1 parent 52dce60 commit deac496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewPicker/PickerInput/RangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function RangePicker<DateType extends object = any>(
flushSubmit,
/** Trigger `onChange` directly without check `disabledDate` */
triggerSubmitChange,
] = useRangeValue(
] = useRangeValue<RangeValueType<DateType>, DateType>(
filledProps,
mergedValue,
setInnerValue,
Expand Down

0 comments on commit deac496

Please sign in to comment.