mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Hound fix
This commit is contained in:
parent
73c662d299
commit
8ec51f6ea8
@ -41,7 +41,7 @@ class ChessBoardSquare extends React.Component {
|
||||
var { store } = this.props;
|
||||
var { turn } = store.getState();
|
||||
|
||||
return piece != undefined &&
|
||||
return piece !== undefined &&
|
||||
piece.colour == player &&
|
||||
player == turn;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user