Fix for typos (#8046)

This commit is contained in:
Jason Grlicky
2016-10-22 16:50:24 -07:00
committed by Ben Alpert
parent 284a96b9a6
commit 952bdca020

View File

@@ -373,7 +373,7 @@ if (winner) {
<div className="game-board">
<Board
squares={current.squares}
onClick={() => this.handleClick(i)}
onClick={(i) => this.handleClick(i)}
/>
</div>
<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