1
0
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:
Daniel Barber 2018-02-27 22:16:03 -05:00
parent d129094b6d
commit fe3c223a13
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -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 => {