From c5e64c1a9aff23fd30527b5a07fabd720d0bbc69 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Tue, 26 Aug 2025 23:12:24 +0200 Subject: [PATCH] loop --- src/components/Testimonials.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Testimonials.jsx b/src/components/Testimonials.jsx index 50490fa..17a9099 100644 --- a/src/components/Testimonials.jsx +++ b/src/components/Testimonials.jsx @@ -105,7 +105,7 @@ export function Testimonials() { }, 5000) return () => clearInterval(timer) - }, []) + }, [currentTestimonial]) // Reset timer when testimonial changes const currentTest = testimonials[currentTestimonial]