diff --git a/react.md b/react.md index 0f722cbc7..69375af21 100644 --- a/react.md +++ b/react.md @@ -215,8 +215,7 @@ And without constructor using [Babel](https://babeljs.io/) with [proposal-class- ```jsx class Hello extends Component { - state = { visible: true } - } + state = { visible: true } } ``` {: data-line="2"}