diff --git a/client/src/components/ImageCarousel.tsx b/client/src/components/ImageCarousel.tsx index 19cbd4b..74f8af1 100644 --- a/client/src/components/ImageCarousel.tsx +++ b/client/src/components/ImageCarousel.tsx @@ -9,7 +9,7 @@ const ImageCarousel: React.FC = () => { useEffect(() => { const timer = setInterval(() => { setCurrentIndex((prevIndex) => (prevIndex + 1) % images.length); - }, 10000); + }, 5000); return () => clearInterval(timer); }, []);