remove extra comment
This commit is contained in:
@@ -99,7 +99,6 @@ export function initSocket(
|
|||||||
|
|
||||||
socket.on("receivedMove", (m: { from: string; to: string; promotion?: string }) => {
|
socket.on("receivedMove", (m: { from: string; to: string; promotion?: string }) => {
|
||||||
const success = actions.makeMove(m);
|
const success = actions.makeMove(m);
|
||||||
console.log(success);
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
socket.emit("getLatestGame");
|
socket.emit("getLatestGame");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user