Hopefully fix racing condition
This commit is contained in:
parent
1011b94096
commit
bb5710c103
@ -73,7 +73,7 @@ async function loginFunc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
socket.setToken(response.token)
|
socket.setToken(response.token)
|
||||||
socket.initConnection()
|
await socket.initConnection()
|
||||||
}
|
}
|
||||||
|
|
||||||
async function registerFunc() {
|
async function registerFunc() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user