Skip to content

Commit

Permalink
forgot mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellie Li authored and Ellie Li committed Nov 12, 2023
1 parent d995bd3 commit b9be155
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/Home/PastActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@ const PastActivity = ({ userData }: any) => {
{/* if PastEvents aren't loading in yet, component will display "Please Wait..." */}
<Suspense fallback={<Header>Please Wait...</Header>}>
{/* TODO: integrate with backend */}
<Container>
{events &&
events.map(event => (
// Iterate through events to and pass data to EventCard
<EventCard
key={event._id.toString()}
eventData={event}
size={'large'}
href={'/event/' + event._id}
/>
))}
</Container>
</Suspense>
</Events>
</Container>
Expand Down

0 comments on commit b9be155

Please sign in to comment.