Browse Source

Fix for typos (#8046)

main
Jason Grlicky 8 years ago
committed by Ben Alpert
parent
commit
494663ad60
  1. 4
      tutorial/tutorial.md

4
tutorial/tutorial.md

@ -373,7 +373,7 @@ if (winner) {
<div className="game-board"> <div className="game-board">
<Board <Board
squares={current.squares} squares={current.squares}
onClick={() => this.handleClick(i)} onClick={(i) => this.handleClick(i)}
/> />
</div> </div>
<div className="game-info"> <div className="game-info">
@ -402,7 +402,7 @@ handleClick(i) {
} }
``` ```
At this point, Board only needs `renderStep` and `render`; the state initialization and click handler should both live in Game. At this point, Board only needs `renderSquare` and `render`; the state initialization and click handler should both live in Game.
## Showing the Moves ## Showing the Moves

Loading…
Cancel
Save