We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282e166 commit 4d0120fCopy full SHA for 4d0120f
src/components/UpcomingEventsList.tsx
@@ -150,22 +150,20 @@ const UpcomingEventsList = () => {
150
endDate,
151
},
152
idx
153
- ) => {
154
- return (
155
- <EventCard
156
- key={idx}
157
- title={title}
158
- to={to}
159
- date={date}
160
- description={formattedDetails}
161
- location={location}
162
- isEven={(idx + 1) % 2 === 0}
163
- imageUrl={imageUrl}
164
- startDate={startDate}
165
- endDate={endDate}
166
- />
167
- )
168
- }
+ ) => (
+ <EventCard
+ key={idx}
+ title={title}
+ to={to}
+ date={date}
+ description={formattedDetails}
+ location={location}
+ isEven={(idx + 1) % 2 === 0}
+ imageUrl={imageUrl}
+ startDate={startDate}
+ endDate={endDate}
+ />
+ )
169
)}
170
</Grid>
171
</Box>
0 commit comments