Skip to content

Commit 57590ef

Browse files
committed
update events list component
1 parent 30bb5e6 commit 57590ef

File tree

2 files changed

+2
-422
lines changed

2 files changed

+2
-422
lines changed

src/components/UpcomingEventsList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import InlineLink from "@/components/Link"
1111

1212
import { trackCustomEvent } from "@/lib/utils/matomo"
1313

14-
import communityConferences from "@/data/community-events"
14+
import communityEvents from "@/data/community-events.json"
1515

1616
type OrderedUpcomingEvent = CommunityConference & {
1717
date: string
@@ -37,7 +37,7 @@ const UpcomingEventsList = () => {
3737
}
3838

3939
useEffect(() => {
40-
const eventsList: CommunityConference[] = [...communityConferences]
40+
const eventsList = communityEvents as CommunityConference[]
4141
const yesterday = new Date()
4242
yesterday.setDate(yesterday.getDate() - 1)
4343

0 commit comments

Comments
 (0)