Browse Source

Fix typo in new tutorial code (#8045)

main
Taeho Kim 8 years ago
committed by Dan Abramov
parent
commit
ac5129d7cb
  1. 2
      tutorial/tutorial.md

2
tutorial/tutorial.md

@ -392,7 +392,7 @@ handleClick(i) {
if (calculateWinner(squares) || squares[i]) {
return;
}
squares[i] = this.state.xIsNext(current.squares) ? 'X' : 'O';
squares[i] = this.state.xIsNext ? 'X' : 'O';
this.setState({
history: history.concat([{
squares: squares

Loading…
Cancel
Save