react: Remove extra ending bracket (#972)
This commit is contained in:
parent
45160e4cc7
commit
18ebcc9b2e
3
react.md
3
react.md
|
@ -215,8 +215,7 @@ And without constructor using [Babel](https://babeljs.io/) with [proposal-class-
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
class Hello extends Component {
|
class Hello extends Component {
|
||||||
state = { visible: true }
|
state = { visible: true }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
{: data-line="2"}
|
{: data-line="2"}
|
||||||
|
|
Loading…
Reference in New Issue