Skip to content

Commit 4b874a9

Browse files
committed
chore: resolve [dev] conflicts
1 parent 6d8755d commit 4b874a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/EventCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const clearStyles = {
1717

1818
export type EventCardProps = {
1919
title: string
20-
href: string
20+
to: string
2121
date: string
2222
startDate: string
2323
endDate: string

src/components/UpcomingEventsList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ const UpcomingEventsList = () => {
143143
{
144144
title,
145145
to,
146+
href,
146147
formattedDetails,
147148
date,
148149
location,
@@ -155,7 +156,7 @@ const UpcomingEventsList = () => {
155156
<EventCard
156157
key={idx}
157158
title={title}
158-
to={to}
159+
to={to || href}
159160
date={date}
160161
description={formattedDetails}
161162
location={location}
@@ -185,7 +186,6 @@ const UpcomingEventsList = () => {
185186
marginTop="5"
186187
paddingY="8"
187188
>
188-
189189
<Button onClick={loadMoreEvents}>
190190
{t("page-community-upcoming-events-load-more")}
191191
</Button>

0 commit comments

Comments
 (0)