Update tutorial.md (#8896)

* Update tutorial.md

The status <div> used in Board can be deleted as well from render.

* Little tweaks
This commit is contained in:
Eduard
2017-02-02 02:12:00 +00:00
committed by Kevin Lacker
parent 05f5bf6eb6
commit dc04ee87ae

View File

@@ -399,7 +399,9 @@ if (winner) {
</div>
```
Its `handleClick` can push a new entry onto the stack by concatenating the new history entry to make a new history array:
Since Game is now rendering the status, we can delete `<div className="status">{status}</div>` from the Board's `render` function.
Game's `handleClick` can push a new entry onto the stack by concatenating the new history entry to make a new history array:
```javascript
handleClick(i) {