Fix for typos (#8046)
Jason Grlicky committed
Oct 22, 2016 at 16:50 UTC
952bdca020ec4c5742539b6ce20b06023532d6ee
1 file changed
+2
-2
docs/tutorial/tutorial.md
+2
-2
@@ -373,7 +373,7 @@ if (winner) {
373
<div className="game-board">
374
<Board
375
squares={current.squares}
376
- onClick={() => this.handleClick(i)}
376
+ onClick={(i) => this.handleClick(i)}
377
/>
378
</div>
379
<div className="game-info">
@@ -402,7 +402,7 @@ handleClick(i) {
402
}
403
```
404
405
-At this point, Board only needs `renderStep` and `render`; the state initialization and click handler should both live in Game.
405
+At this point, Board only needs `renderSquare` and `render`; the state initialization and click handler should both live in Game.
406
407
## Showing the Moves
408