aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/MessageInput.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/MessageInput.js')
-rw-r--r--vnext/src/components/MessageInput.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js
index 57ee8f3c..e8e4c99a 100644
--- a/vnext/src/components/MessageInput.js
+++ b/vnext/src/components/MessageInput.js
@@ -40,6 +40,10 @@ export default class MessageInput extends React.Component {
body: this.state.body,
attach: this.state.attach ? input.files[0] : ''
})
+ this.setState({
+ body: '',
+ attach: ''
+ })
}
componentDidMount() {