Minor syntax fix in example code in tutorial.md (#2542)

This commit is contained in:
Lokesh
2019-11-07 13:09:37 +05:30
committed by Alexey Pyltsyn
parent ee8a5ec783
commit 5fcd85ea69

View File

@@ -197,6 +197,7 @@ class Board extends React.Component {
renderSquare(i) {
return <Square value={i} />;
}
}
```
Change Square's `render` method to show that value by replacing `{/* TODO */}` with `{this.props.value}`: