Hopefully fix racing condition

This commit is contained in:
Dennis Postma 2024-07-12 01:37:30 +02:00
parent 1011b94096
commit bb5710c103

View File

@ -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() {