loop
This commit is contained in:
@@ -105,7 +105,7 @@ export function Testimonials() {
|
||||
}, 5000)
|
||||
|
||||
return () => clearInterval(timer)
|
||||
}, [])
|
||||
}, [currentTestimonial]) // Reset timer when testimonial changes
|
||||
|
||||
const currentTest = testimonials[currentTestimonial]
|
||||
|
||||
|
Reference in New Issue
Block a user