diff --git a/tutorial/tutorial.md b/tutorial/tutorial.md index b5d85f6d..a965c71f 100644 --- a/tutorial/tutorial.md +++ b/tutorial/tutorial.md @@ -373,7 +373,7 @@ if (winner) {
this.handleClick(i)} + onClick={(i) => this.handleClick(i)} />
@@ -402,7 +402,7 @@ handleClick(i) { } ``` -At this point, Board only needs `renderStep` and `render`; the state initialization and click handler should both live in Game. +At this point, Board only needs `renderSquare` and `render`; the state initialization and click handler should both live in Game. ## Showing the Moves