Skip to content

Commit 438117a

Browse files
committed
Minor edit
1 parent a00440d commit 438117a

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
@@ -830,7 +830,7 @@ class Game extends React.Component {
830830
}
831831
```
832832

833-
Next, we'll have the Board component receive `squares` and `onClick` props from the Game component by props. Since we now have a single click handler in Board for many Squares, we'll need to pass the location of each Square into the `onClick` handler to indicate which Square was clicked. Here are the required steps to transform the Board component:
833+
Next, we'll have the Board component receive `squares` and `onClick` props from the Game component. Since we now have a single click handler in Board for many Squares, we'll need to pass the location of each Square into the `onClick` handler to indicate which Square was clicked. Here are the required steps to transform the Board component:
834834

835835
* Delete the `constructor` in Board.
836836
* Replace `this.state.squares[i]` with `this.props.squares[i]` in Board's `renderSquare`.

0 commit comments

Comments
 (0)