We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c350b35 commit 67bc690Copy full SHA for 67bc690
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