unbreak build

This commit is contained in:
Marks Polakovs 2020-04-13 12:54:40 +02:00
parent 59076f4132
commit 774c68bb1a

View file

@ -23,6 +23,11 @@ function nicifyConnectionState(state: ConnectionStateEnum): string {
return "Connection lost. Reconnecting..."; return "Connection lost. Reconnecting...";
case "NOT_CONNECTED": case "NOT_CONNECTED":
return "Not Connected"; return "Not Connected";
case "LIVE":
return "Live!";
default:
console.warn("unhandled", state);
return state as string;
} }
} }