File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,22 +7,22 @@ import Translation from "@/components/Translation"
7
7
8
8
import { trackCustomEvent } from "@/lib/utils/matomo"
9
9
10
- import CommunityConferences from "../data/community-events"
10
+ import communityConferences from "../data/community-events"
11
11
12
12
import { Button } from "./Buttons"
13
13
import EventCard from "./EventCard"
14
14
import InfoBanner from "./InfoBanner"
15
15
import InlineLink from "./Link"
16
16
17
- type OrderedUpcomingEventType = CommunityConference & {
17
+ type OrderedUpcomingEvent = CommunityConference & {
18
18
date : string
19
19
formattedDetails : string
20
20
}
21
21
22
22
const UpcomingEventsList = ( ) => {
23
23
const eventsPerLoad = 10
24
24
const [ orderedUpcomingEvents , setOrderedUpcomingEvents ] = useState <
25
- OrderedUpcomingEventType [ ]
25
+ OrderedUpcomingEvent [ ]
26
26
> ( [ ] )
27
27
const [ maxRange , setMaxRange ] = useState < number > ( eventsPerLoad )
28
28
@@ -37,7 +37,7 @@ const UpcomingEventsList = () => {
37
37
}
38
38
39
39
useEffect ( ( ) => {
40
- const eventsList : CommunityConference [ ] = [ ...CommunityConferences ]
40
+ const eventsList : CommunityConference [ ] = [ ...communityConferences ]
41
41
const yesterday = new Date ( )
42
42
yesterday . setDate ( yesterday . getDate ( ) - 1 )
43
43
Original file line number Diff line number Diff line change 1
1
import { CommunityConference } from "@/lib/types"
2
2
3
- const CommunityConferences : CommunityConference [ ] = [
3
+ const communityConferences : CommunityConference [ ] = [
4
4
{
5
5
title : "ETH Cinco de Mayo" ,
6
6
startDate : "2024-02-02" ,
@@ -392,4 +392,4 @@ const CommunityConferences: CommunityConference[] = [
392
392
} ,
393
393
]
394
394
395
- export default CommunityConferences
395
+ export default communityConferences
You can’t perform that action at this time.
0 commit comments