Skip to content

Commit

Permalink
remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
flamecommit committed Sep 5, 2023
1 parent c003136 commit db70d49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package/src/hooks/useSwipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const useSwipe = (
let isSwiping = false;

const handleTouchStart = (event: TouchEvent) => {
console.log('touchstart');
if (!ref.current || !event.touches[0]) return;

startX = event.touches[0].clientX;
Expand All @@ -50,7 +49,6 @@ const useSwipe = (
};

const handleTouchMove = (event: TouchEvent) => {
console.log('touchmove');
if (!isSwiping || !ref.current || !event.touches[0]) return;

endX = event.touches[0].clientX;
Expand Down

0 comments on commit db70d49

Please sign in to comment.