[BUG] - Completed Tournaments crash
florence-wolfe opened this issue · 0 comments
florence-wolfe commented
Currently, completed tournament pages will crash because they are looking for a Live Run to display within the Twitch embedded player.
The fix should be as simple as:
- in
tournament.tsx
check if we have acurrentViewer
before callingliveRunFromUser
on L161 - if the event has ended or there's no
currentViewer
hide the live run section altogether- Open Question: if there are no runners for an active tournament should the twitch embed section be hidden?