We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be11a0 commit f76f97eCopy full SHA for f76f97e
1 file changed
src/client/react.js
@@ -104,7 +104,7 @@ export function Client({
104
if (board) {
105
_board = React.createElement(board, {
106
...state,
107
- isMultiplayer: multiplayer === true,
+ isMultiplayer: multiplayer !== undefined,
108
moves: this.client.moves,
109
events: this.client.events,
110
gameID: this.props.gameID,
@@ -119,7 +119,7 @@ export function Client({
119
_debug = React.createElement(Debug, {
120
gamestate: state,
121
store: this.client.store,
122
123
124
125
0 commit comments