MCPcopy Create free account
hub / github.com/devs-in-tech/DevsInTech / startAutoCarousel

Function startAutoCarousel

src/components/testimonial.js:88–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 };
87
88 const startAutoCarousel = () => {
89 const id = setInterval(() => {
90 goToNext();
91 }, 5000);
92
93 return id;
94 };
95
96 if (typeof window !== "undefined") {
97 window.addEventListener("resize", handleResize);

Callers 1

testimonial.jsFile · 0.85

Calls 1

goToNextFunction · 0.70

Tested by

no test coverage detected