fixed joining room error

This commit is contained in:
Wenszel
2022-06-01 17:43:46 +02:00
parent c22ee282b9
commit 3d79bf66df
7 changed files with 23526 additions and 52 deletions
+3
View File
@@ -20,6 +20,9 @@ function App() {
setPlayerData(data);
data.roomId != null ? setRedirect(true) : setRedirect(false);
});
socket.on('uwaga', data => {
console.log(data);
});
setPlayerSocket(socket);
}, []);