Skip to content

Commit

Permalink
Update props
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed Aug 5, 2024
1 parent 64464ca commit 99283c1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/berlin/src/pages/Event.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,22 @@ function Event() {
<Cycles
cycles={openCycles}
eventId={eventId}
errorMessage="No upcoming questions"
tab="past"
setActiveTab={setActiveTab}
fallback={{
message: 'No upcoming questions available.',
buttonMessage: 'Past questions',
buttonOnClick: () => setActiveTab('past'),
}}
/>
),
past: (
<Cycles
cycles={closedCycles}
eventId={eventId}
errorMessage="No past questions"
tab="upcoming"
setActiveTab={setActiveTab}
fallback={{
message: 'No past questions available.',
buttonMessage: 'Upcoming questions',
buttonOnClick: () => setActiveTab('upcoming'),
}}
/>
),
};
Expand Down

0 comments on commit 99283c1

Please sign in to comment.