Change error flashing class.
This commit is contained in:
parent
238dd8d98f
commit
9ec14b1879
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
|
||||
.source,
|
||||
.silence {
|
||||
.error {
|
||||
margin-left: 1em;
|
||||
border-left: 2px solid gray;
|
||||
padding-left: 1em;
|
||||
|
|
|
@ -69,9 +69,9 @@ export function Timelord() {
|
|||
!(
|
||||
broadcastState.connectionState in ["LIVE", "CONNECTED", "NOT_CONNECTED"]
|
||||
) ? (
|
||||
<span className="silence">Streaming Error!</span>
|
||||
) : isSilence ? (
|
||||
<span className="silence">SILENCE DETECTED</span>
|
||||
<span className="error">Streaming Error!</span>
|
||||
) : !isSilence ? (
|
||||
<span className="error">SILENCE DETECTED</span>
|
||||
) : (
|
||||
<span className="source">
|
||||
<span className={"studio studio" + source.id}>{source.name}</span>
|
||||
|
|
Loading…
Reference in a new issue