forked from CringeStudios/gamja
components/buffer-header: print bouncer network error if any
This commit is contained in:
parent
baaf576d82
commit
f0c398a10c
@ -44,6 +44,9 @@ export default function BufferHeader(props) {
|
||||
switch (props.bouncerNetwork.state) {
|
||||
case "disconnected":
|
||||
description = "Bouncer disconnected from network";
|
||||
if (props.bouncerNetwork.error) {
|
||||
description += ": " + props.bouncerNetwork.error;
|
||||
}
|
||||
break;
|
||||
case "connecting":
|
||||
description = "Bouncer connecting to network...";
|
||||
|
Loading…
x
Reference in New Issue
Block a user