Browse Source

Removed unnecessary dot. (#494)

main
Sergey Korzh 7 years ago
committed by Dan Abramov
parent
commit
21300896dc
  1. 2
      content/tutorial/tutorial.md

2
content/tutorial/tutorial.md

@ -1053,7 +1053,7 @@ Add a method called `jumpTo` to the Game class:
} }
``` ```
Then update `stepNumber` when a new move is made by adding `stepNumber: history.length` to the state update in Game's `handleClick`. We'll also update `handleClick` to be aware of `stepNumber` when reading the current board state so that you can go back in time then click in the board to create a new entry.: Then update `stepNumber` when a new move is made by adding `stepNumber: history.length` to the state update in Game's `handleClick`. We'll also update `handleClick` to be aware of `stepNumber` when reading the current board state so that you can go back in time then click in the board to create a new entry:
```javascript{2,13} ```javascript{2,13}
handleClick(i) { handleClick(i) {

Loading…
Cancel
Save