Skip to content

Commit

Permalink
Make keynote a placeholder rather than missing session
Browse files Browse the repository at this point in the history
  • Loading branch information
bplowry committed Jul 17, 2022
1 parent 30db1d7 commit a289fb4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/currentAgenda.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { AgendaProvider } from 'components/Agenda/AgendaContext'
import { AgendaSession } from 'components/Agenda/AgendaSession'
import { AgendaTime } from 'components/Agenda/AgendaTime'
import { set } from 'date-fns'
import { StyledAgendaPresenter } from './Agenda/AgendaSession.styled'

interface CurrentAgendaProps {
date: Date
Expand Down Expand Up @@ -107,16 +106,20 @@ export const CurrentAgenda = ({
</StyledAgendaRow>
<StyledAgendaRow>
<AgendaTime time={set(date, { hours: 9, minutes: 10 })} />
<AgendaSession room={0} alwaysShowRoom fullWidth>
<StyledTrackHeader>Keynote</StyledTrackHeader>
</AgendaSession>
{/* TODO: use this but update sessionId
<AgendaSession
sessionId="46cde2ca-8b44-4ff5-9b82-ad3c41a2b329"
sessionId="TODO"
room={0}
renderPresenters={(presenters) => (
<StyledAgendaPresenter isKeynote>Keynote: {presenters}</StyledAgendaPresenter>
)}
fullWidth
isKeynote
alwaysShowRoom
/>
/> */}
</StyledAgendaRow>
<StyledAgendaRow>
<AgendaTime time={set(date, { hours: 10, minutes: 0 })} />
Expand Down

0 comments on commit a289fb4

Please sign in to comment.