diff --git a/src/selection/useRange.tsx b/src/selection/useRange.tsx index 0072aa3b1..60657de55 100644 --- a/src/selection/useRange.tsx +++ b/src/selection/useRange.tsx @@ -32,7 +32,7 @@ function useRangeContextValue({ selected, onSelect }: T): RangeContextValue { - const { dateLib, mode } = useProps(); + const { dateLib, mode, disabled } = useProps(); const { differenceInCalendarDays } = dateLib; const [range, setRange] = React.useState(selected);