Skip to content

Commit 7ed776e

Browse files
Merge pull request #1051 from ghost/fix-typos
Fix typo
2 parents d432954 + 984abd2 commit 7ed776e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/tutorial/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Congratulations! You've just "passed a prop" from a parent Board component to a
227227

228228
### Making an Interactive Component {#making-an-interactive-component}
229229

230-
Let's fill the Square component with an "X" when we click it.
230+
Let's fill the Square component with an "X" when we click it.
231231
First, change the button tag that is returned from the Square component's `render()` function to this:
232232

233233
```javascript{4}
@@ -1015,7 +1015,7 @@ In JavaScript, arrays have a [`map()` method](https://developer.mozilla.org/en-U
10151015
```js
10161016
const numbers = [1, 2, 3];
10171017
const doubled = numbers.map(x => x * 2); // [2, 4, 6]
1018-
```
1018+
```
10191019

10201020
Using the `map` method, we can map our history of moves to React elements representing buttons on the screen, and display a list of buttons to "jump" to past moves.
10211021

0 commit comments

Comments
 (0)