Skip to content

Commit 22c0e13

Browse files
authored
change wording
@gaearon ^
1 parent 8fd3a3d commit 22c0e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/tutorial/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ Let's `map` over the `history` in the Game's `render` method:
10521052

10531053
**[View the full code at this point](https://codepen.io/gaearon/pen/EmmGEa?editors=0010)**
10541054

1055-
For each move in the tic-tac-toes's game's history, we create a list item `<li>` which contains a button `<button>`. The button has a `onClick` handler which calls a method called `this.jumpTo()`. We haven't implemented the `jumpTo()` method yet. For now, we should see a list of the moves that have occurred in the game and a warning in the browser dev console that says:
1055+
For each move in the tic-tac-toes's game's history, we create a list item `<li>` which contains a button `<button>`. The button has a `onClick` handler which calls a method called `this.jumpTo()`. We haven't implemented the `jumpTo()` method yet. For now, we should see a list of the moves that have occurred in the game and a warning in the developer tools console that says:
10561056

10571057
> Warning:
10581058
> Each child in an array or iterator should have a unique "key" prop. Check the render method of "Game".

0 commit comments

Comments
 (0)