mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Let's only log on connection error
This commit is contained in:
parent
d129094b6d
commit
fe3c223a13
@ -24,7 +24,6 @@ class ChessBoard extends React.Component {
|
||||
|
||||
this.channel = socket.channel("game:" + gameId, {});
|
||||
this.channel.join()
|
||||
.receive("ok", resp => { console.log("Joined successfully", resp) })
|
||||
.receive("error", resp => { console.log("Unable to join", resp) });
|
||||
|
||||
this.channel.on("game_update", data => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user