diff options
author | Vitaly Takmazov | 2018-06-28 15:09:54 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | dc96d3cbdf0f8e5b787affe771b151a4786d114a (patch) | |
tree | c65b7cbca6943f88e4725e9f8d2e41fadfbaff0e | |
parent | d994e634e8d8876076de377ee0afeef1bd0d1854 (diff) |
Fix first comment state
-rw-r--r-- | vnext/src/components/MessageInput.js | 2 |
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} |