Skip to content

Commit

Permalink
right problem solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Mert Can Altin committed Sep 3, 2024
1 parent 8033f2e commit 09dc6d4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/carousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@ export const Carousel: FunctionComponent<CarouselProps> = (userProps: CarouselPr
props.autoSwipe > props.transition
) {
autoSwipeTimer.current = window.setTimeout(() => {
if (showArrow.right) {
slide(SlideDirection.Right);
} else {
slide(SlideDirection.Left);
}
autoSwipe();
slide(SlideDirection.Right);
}, props.autoSwipe);
}
};
Expand Down

0 comments on commit 09dc6d4

Please sign in to comment.