mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Minor syntax fix in example code in tutorial.md (#2542)
This commit is contained in:
@@ -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}`:
|
||||
|
||||
Reference in New Issue
Block a user