File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const clearStyles = {
17
17
18
18
export type EventCardProps = {
19
19
title : string
20
- to : string
20
+ href : string
21
21
date : string
22
22
startDate : string
23
23
endDate : string
@@ -29,7 +29,7 @@ export type EventCardProps = {
29
29
30
30
const EventCard = ( {
31
31
title,
32
- to ,
32
+ href ,
33
33
description,
34
34
className,
35
35
location,
@@ -119,7 +119,7 @@ const EventCard = ({
119
119
</ Box >
120
120
</ Box >
121
121
< Box padding = { 4 } paddingTop = { 0 } width = { "100%" } >
122
- < ButtonLink href = { to } width = { "100%" } variant = "outline" >
122
+ < ButtonLink href = { href } width = { "100%" } variant = "outline" >
123
123
{ t ( "page-community-upcoming-events-view-event" ) }
124
124
</ ButtonLink >
125
125
</ Box >
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ const UpcomingEventsList = () => {
156
156
< EventCard
157
157
key = { idx }
158
158
title = { title }
159
- to = { to || href }
159
+ href = { to || href }
160
160
date = { date }
161
161
description = { formattedDetails }
162
162
location = { location }
You can’t perform that action at this time.
0 commit comments