Fix broadcast stage "in"

This commit is contained in:
Matthew Stratford 2021-01-28 23:11:38 +00:00
parent dc15d2d7d7
commit 765ddd505c

View file

@ -66,9 +66,7 @@ export function Timelord() {
timezone={"europe/london"}
/>
{broadcastState.stage === "REGISTERED" &&
!(
broadcastState.connectionState in ["LIVE", "CONNECTED", "NOT_CONNECTED"]
) ? (
["LIVE", "CONNECTED"].indexOf(broadcastState.connectionState) === -1 ? (
<span className="error">Streaming Error!</span>
) : isSilence ? (
<span className="error">SILENCE DETECTED</span>