Skip to content

Commit 2a059d4

Browse files
committed
fix: image gallery animation and wrong indexing
1 parent 94b1b40 commit 2a059d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package/src/components/ImageGallery/hooks/useImageGalleryGestures.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ export const useImageGalleryGestures = ({
281281
*/
282282
const finalXPosition = event.translationX - event.velocityX * 0.3;
283283
const finalYPosition = event.translationY + event.velocityY * 0.1;
284-
console.log(finalXPosition);
285284

286285
/**
287286
* If there is a next photo, the image is lined up to the right

0 commit comments

Comments
 (0)