Skip to content

Commit

Permalink
fix: made changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh-rath02 committed Oct 1, 2023
1 parent 13815e9 commit 6a54171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Testimonial.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const TestimonialCarousel = () => {
};

useEffect(() => {
const interval = setInterval(goToNext, 3000);
const interval = setInterval(goToNext, 10000);
return () => {
clearInterval(interval);
};
}, []);
}, [activeIndex]);

return (
<div className="relative flex flex-row justify-center items-center md:gap-4 overflow-x-hidden">
Expand Down

0 comments on commit 6a54171

Please sign in to comment.