Skip to content

Commit e268dac

Browse files
author
Jodi
committed
fix: UpcomingEvents button
1 parent b1603b0 commit e268dac

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

app/(home)/components/CountdownTimer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function CountdownTimer({ eventDate }: CountdownTimerProps) {
3333
}, 1000);
3434

3535
return () => clearInterval(timer);
36-
}, [eventDate]);
36+
}, [eventDate, calculateTimeLeft]);
3737

3838
if (!isClient) return null;
3939

app/(home)/components/UpcomingEvents.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ const UpcomingEvents = () => {
6868
</div>
6969

7070
{/* See more Events Button */}
71-
<<<<<<< HEAD
7271
<Button className="bg-primary hover:bg-primary mx-auto max-w-[80%] lg:max-w-[80%] md:max-w-[80%] w-full md:py-2 xl:py-4 md:font-medium text-dark-green lg:py-4 lg:text-[15px] py-[4px] font-semibold text-[11px] xl:text-2xl xl:max-w-full">
73-
=======
74-
<Button className="bg-primary hover:bg-primary mx-auto max-w-[80%] lg:max-w-[80%] md:max-w-[80%] w-full md:py-4 xl:py-4 md:font-medium text-dark-green py-[6px] font-semibold text-sm xl:text-2xl xl:max-w-full">
75-
>>>>>>> 670cf3b51dd89756ac5a20bc5558d04c4a247d82
7672
<Link href="/404">See More Events</Link>
7773
</Button>
7874
</Container>

0 commit comments

Comments
 (0)