diff --git a/js/components/app.js b/js/components/app.js index 096ebd8..d733ccc 100644 --- a/js/components/app.js +++ b/js/components/app.js @@ -6,10 +6,6 @@ class App extends React.Component { constructor(props){ super(props); this.addComment = this.addComment.bind(this); - this.state = { - comments: [ - ] - } } addComment(value){ this.state.comments.push({ body: value }); @@ -19,7 +15,7 @@ class App extends React.Component { } render() { return
- +
}