diff --git a/ts/components/session/settings/SessionSettingListItem.tsx b/ts/components/session/settings/SessionSettingListItem.tsx index 66c18d4fa..fe04793e1 100644 --- a/ts/components/session/settings/SessionSettingListItem.tsx +++ b/ts/components/session/settings/SessionSettingListItem.tsx @@ -22,12 +22,12 @@ type Props = { }; export const SessionSettingListItem = (props: Props) => { - const handleSlider = (value: any) => { + const handleSlider = (valueToForward: any) => { if (props.onSliderChange) { - props.onSliderChange(value); + props.onSliderChange(valueToForward); } - setSliderValue(value); + setSliderValue(valueToForward); }; const [sliderValue, setSliderValue] = useState(null);