diff options
Diffstat (limited to 'vnext/src/components/MessageInput.js')
-rw-r--r-- | vnext/src/components/MessageInput.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js index 5ef654a8..5d603a4b 100644 --- a/vnext/src/components/MessageInput.js +++ b/vnext/src/components/MessageInput.js @@ -16,7 +16,7 @@ export default class MessageInput extends React.Component { mid: this.props.data.mid, rid: this.props.data.rid || 0, to: this.props.data.to || {}, - body: '', + body: this.props.text || '', attach: '' } } @@ -131,5 +131,6 @@ const textInputStyle = { MessageInput.propTypes = { data: MessageType.isRequired, onSend: PropTypes.func.isRequired, - rows: PropTypes.string + rows: PropTypes.string, + text: PropTypes.string };
\ No newline at end of file |