This commit is contained in:
Half-Shot
2024-12-10 10:49:47 +00:00
parent fc6f0db782
commit efad1ed21e

View File

@@ -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(