We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589eb6f commit e410289Copy full SHA for e410289
1 file changed
app/(home)/components/SponsorsDesktop.tsx
@@ -48,7 +48,7 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
48
setCurrent(correctedCurrentIndex);
49
setfeaturedSponsor(sponsors[correctedCurrentIndex]);
50
});
51
- }, [api]);
+ }, [api, sponsors]);
52
53
const plugin = useRef(Autoplay({ delay: 5000, stopOnInteraction: true }));
54
0 commit comments