Skip to content

Commit b81ab66

Browse files
committed
fix: fix hydration error
1 parent 1cfe85d commit b81ab66

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/(home)/components/SponsorsDesktop.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
178178
}}
179179
>
180180
{/* Previous Button */}
181-
<button onClick={autoPlayInteraction}>
181+
<a onClick={autoPlayInteraction}>
182182
<CarouselPrevious className="absolute left-[-64px] z-10 h-16 w-16 sm:w-20 sm:h-20" />
183-
</button>
183+
</a>
184184

185185
{/* Carousel Content */}
186186
<CarouselContent>
@@ -221,9 +221,9 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
221221
</CarouselContent>
222222

223223
{/* Next Button */}
224-
<button onClick={autoPlayInteraction}>
224+
<a onClick={autoPlayInteraction}>
225225
<CarouselNext className="absolute right-[-64px] z-10 h-16 w-16 sm:w-20 sm:h-20" />
226-
</button>
226+
</a>
227227
</Carousel>
228228
</div>
229229
{/* Dots Navigation */}

0 commit comments

Comments
 (0)