Skip to content

Commit f85b2dc

Browse files
committed
fix: remove unused property causing build breaks
The `pastEventLink` property was resulting undefined in some cases causing the build to fail when attempting to serialize. This value is not being consumed by the frontend; removed.
1 parent 6b65e5d commit f85b2dc

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/lib/api/calendarEvents.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export async function fetchCommunityEvents(): Promise<CommunityEventsReturnType>
3030
date: event.start.dateTime,
3131
title: event.summary,
3232
calendarLink: event.htmlLink,
33-
pastEventLink: event.location,
3433
}
3534
})
3635
const upcomingEventData = futureEventsReqData
@@ -41,7 +40,6 @@ export async function fetchCommunityEvents(): Promise<CommunityEventsReturnType>
4140
date: event.start.dateTime,
4241
title: event.summary,
4342
calendarLink: event.htmlLink,
44-
pastEventLink: event.location,
4543
}
4644
})
4745

src/lib/interfaces.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ export interface CommunityEvent {
184184
date: string
185185
title: string
186186
calendarLink: string
187-
pastEventLink?: string
188187
}
189188

190189
export interface ReqCommunityEvent {

0 commit comments

Comments
 (0)