@samitouri / QOS-React-2 / commits / 589c0a25df

Update button labels

Dan Abramov committed Oct 3, 2017 at 17:03 UTC 589c0a25dfa18c2090549cc6f5b626d69ea53c2a
1 file changed +4 -4
docs/tutorial/tutorial.md
+4 -4
@@ -901,8 +901,8 @@ Let's show the previous moves made in the game so far. We learned earlier that R
901
902 const moves = history.map((step, move) => {
903 const desc = move ?
904 - 'Move #' + move :
905 - 'Game start';
904 + 'Go to move #' + move :
905 + 'Go to game start';
906 return (
907 <li>
908 <button onClick={() => this.jumpTo(move)}>{desc}</button>
@@ -988,8 +988,8 @@ For our move list, we already have a unique ID for each step: the number of the
988 ```js{6}
989 const moves = history.map((step, move) => {
990 const desc = move ?
991 - 'Move #' + move :
992 - 'Game start';
991 + 'Go to move #' + move :
992 + 'Go to game start';
993 return (
994 <li key={move}>
995 <button onClick={() => this.jumpTo(move)}>{desc}</button>