remove initialization on ws reconnection

This commit is contained in:
srgooglo 2022-10-10 14:55:57 +02:00
parent 3034776593
commit 8bf2c3b332

View File

@ -194,8 +194,6 @@ class App extends React.Component {
this.wsReconnectingTry = 0 this.wsReconnectingTry = 0
this.wsReconnecting = false this.wsReconnecting = false
this.initialization()
setTimeout(() => { setTimeout(() => {
Toast.show({ Toast.show({
icon: "success", icon: "success",
@ -206,7 +204,6 @@ class App extends React.Component {
}, },
"api.ws.main.connect_error": () => { "api.ws.main.connect_error": () => {
if (!this.wsReconnecting) { if (!this.wsReconnecting) {
this.latencyWarning = null
this.wsReconnectingTry = 0 this.wsReconnectingTry = 0
this.wsReconnecting = true this.wsReconnecting = true