mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
remove duplicate behaviors
This commit is contained in:
parent
8a20633531
commit
8aade811fe
@ -40,13 +40,11 @@ class ComtyApp extends React.Component {
|
|||||||
await this.auth.flush()
|
await this.auth.flush()
|
||||||
await this.initialization()
|
await this.initialization()
|
||||||
|
|
||||||
app.cores.api.reconnectWebsockets()
|
|
||||||
app.navigation.goMain()
|
app.navigation.goMain()
|
||||||
},
|
},
|
||||||
onLogout: async () => {
|
onLogout: async () => {
|
||||||
await this.auth.flush()
|
await this.auth.flush()
|
||||||
|
|
||||||
app.cores.api.disconnectWebsockets()
|
|
||||||
app.navigation.goAuth()
|
app.navigation.goAuth()
|
||||||
},
|
},
|
||||||
onInvalidSession: async (error) => {
|
onInvalidSession: async (error) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user