localStorage token and websocket reconnect
This commit is contained in:
@@ -87,6 +87,12 @@ export default function Lobby() {
|
||||
setSessionState("voting");
|
||||
setState("loading");
|
||||
getTrack();
|
||||
sessionSocket.send(
|
||||
JSON.stringify({
|
||||
action: "start",
|
||||
token: user.access_token,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
function addUser(user: object) {
|
||||
|
||||
Reference in New Issue
Block a user