diff options
Diffstat (limited to 'vnext/src/components/Post.js')
-rw-r--r-- | vnext/src/components/Post.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vnext/src/components/Post.js b/vnext/src/components/Post.js index ff99cc27..7646d740 100644 --- a/vnext/src/components/Post.js +++ b/vnext/src/components/Post.js @@ -16,18 +16,15 @@ export default class Post extends React.Component { this.state = { attach: '', body: params.body || '' - } + }; this.fileinput = React.createRef(); - console.log(props); } postMessage = (template) => { const { attach, body } = template; post(body, attach) .then(response => { - console.log(response); if (response.status === 200) { const msg = response.data.newMessage; - console.log(msg); this.props.history.push(`/${this.props.visitor.uname}/${msg.mid}`); } }).catch(console.log); |