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