We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c003136 commit db70d49Copy full SHA for db70d49
package/src/hooks/useSwipe.ts
@@ -37,7 +37,6 @@ const useSwipe = (
37
let isSwiping = false;
38
39
const handleTouchStart = (event: TouchEvent) => {
40
- console.log('touchstart');
41
if (!ref.current || !event.touches[0]) return;
42
43
startX = event.touches[0].clientX;
@@ -50,7 +49,6 @@ const useSwipe = (
50
49
};
51
52
const handleTouchMove = (event: TouchEvent) => {
53
- console.log('touchmove');
54
if (!isSwiping || !ref.current || !event.touches[0]) return;
55
56
endX = event.touches[0].clientX;
0 commit comments