localStorage token and websocket reconnect

This commit is contained in:
2025-08-21 09:25:30 +02:00
parent 9c94934ff3
commit 9184d759f3
5 changed files with 38 additions and 8 deletions
+6
View File
@@ -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) {