nvm fixed it
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Hamcha 2019-09-23 18:05:26 +02:00
parent 94b361c21f
commit c30b4c46e0
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,8 @@ const namespaced = true;
export const state: NetworkState = { export const state: NetworkState = {
peerType: "none", peerType: "none",
connectionStatus: null,
peer: null,
chatLog: [] chatLog: []
}; };

View file

@ -25,6 +25,9 @@ export interface SharedNetworkState {
export interface NoNetworkState extends SharedNetworkState { export interface NoNetworkState extends SharedNetworkState {
peerType: "none"; peerType: "none";
connectionStatus: null;
connectionError?: Error;
peer: null;
} }
export interface ClientNetworkState extends SharedNetworkState { export interface ClientNetworkState extends SharedNetworkState {