diff --git a/src/components/Editor.js b/src/components/Editor.js index 6dbb04f..50c3dc1 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -79,9 +79,7 @@ class Editor extends Component { text: this.state.text, type: this.state.type }).then(response => { - console.log(response) - const status = response.data.status - + const status = response.data.status if(status === 'success') { const post_id = response.data.id this.setState({