diff --git a/README.md b/README.md index 6cb98dc..1782a66 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Add https://europe-west1-socialape-d081e.cloudfunctions.net/api as the 'proxy' v ## 2: Install packages -run `npm instll` +run `npm install` ## 3: Run project diff --git a/src/components/scream/CommentForm.js b/src/components/scream/CommentForm.js index 961805e..576550a 100644 --- a/src/components/scream/CommentForm.js +++ b/src/components/scream/CommentForm.js @@ -24,7 +24,7 @@ class CommentForm extends Component { this.setState({ errors: nextProps.UI.errors }); } if (!nextProps.UI.errors && !nextProps.UI.loading) { - this.setState({ body: '' }); + this.setState({ body: '', errors: {} }); } }