mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
value change should always be set
This commit is contained in:
@@ -48,7 +48,7 @@ export const Slider: FC<Props> = ({
|
|||||||
disabled,
|
disabled,
|
||||||
}) => {
|
}) => {
|
||||||
const onValueChange = useCallback(
|
const onValueChange = useCallback(
|
||||||
([v]: number[]) => onValueChangeProp?.(v),
|
([v]: number[]) => onValueChangeProp(v),
|
||||||
[onValueChangeProp],
|
[onValueChangeProp],
|
||||||
);
|
);
|
||||||
const onValueCommit = useCallback(
|
const onValueCommit = useCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user