We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 508a1dc commit cf5956dCopy full SHA for cf5956d
packages/openneuro-components/src/range/TwoHandleRange.tsx
@@ -66,7 +66,6 @@ export const TwoHandleRange: React.FC<TwoHandleRangeProps> = ({
66
Math.min(Number(changeEvent.target.value), value[1] - 1),
67
step,
68
)
69
- value[0] = discreteValue
70
onChange([discreteValue, value[1]])
71
}
72
const maxChangeHandler = (
@@ -79,7 +78,6 @@ export const TwoHandleRange: React.FC<TwoHandleRangeProps> = ({
79
78
Math.max(Number(changeEvent.target.value), value[0] + 1),
80
81
82
- value[1] = discreteValue
83
onChange([value[0], discreteValue])
84
85
0 commit comments