aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/MessageInput.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-28 15:09:54 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commitdc96d3cbdf0f8e5b787affe771b151a4786d114a (patch)
treec65b7cbca6943f88e4725e9f8d2e41fadfbaff0e /vnext/src/components/MessageInput.js
parentd994e634e8d8876076de377ee0afeef1bd0d1854 (diff)
Fix first comment state
Diffstat (limited to 'vnext/src/components/MessageInput.js')
-rw-r--r--vnext/src/components/MessageInput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js
index c0b72348..5ef654a8 100644
--- a/vnext/src/components/MessageInput.js
+++ b/vnext/src/components/MessageInput.js
@@ -75,7 +75,7 @@ export default class MessageInput extends React.Component {
<form className="msg-comment-target">
<div style={commentStyle}>
<textarea name="body" onChange={this.textChanged} onKeyPress={this.handleCtrlEnter}
- ref={this.textarea} style={textInputStyle} value={this.state.value}
+ ref={this.textarea} style={textInputStyle} value={this.state.body}
rows={this.props.rows || "1"} placeholder={this.props.children} />
<div style={inputBarStyle}>
<div style={this.state.attach ? activeStyle : inactiveStyle}