fixed joining room error
This commit is contained in:
@@ -20,6 +20,9 @@ function App() {
|
||||
setPlayerData(data);
|
||||
data.roomId != null ? setRedirect(true) : setRedirect(false);
|
||||
});
|
||||
socket.on('uwaga', data => {
|
||||
console.log(data);
|
||||
});
|
||||
setPlayerSocket(socket);
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user