Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoria-Fedkova committed Sep 20, 2023
1 parent 2ac75f7 commit 4d65bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SideBar/SideBarForm/SIdeBarSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const SideBarSlider = () => {
x={state.x}
onChange={({ x }) => setState(state => ({ ...state, x }))}
onDragEnd={e => {
const x = Math.round(e.changedTouches[0].clientX);
const x = Math.round(e.clientX);
dispatch(setFilter({ price: x }));
}}
/>
Expand Down

0 comments on commit 4d65bd2

Please sign in to comment.