From 5e55c2cfabfbc486e3c3f3102253b439600e117a Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Mon, 28 Jun 2021 15:09:14 +1000 Subject: [PATCH] fix lint --- ts/components/session/settings/SessionSettingListItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);