aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Chat.js')
-rw-r--r--vnext/src/components/Chat.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/vnext/src/components/Chat.js b/vnext/src/components/Chat.js
index c7a5c3ff..fa187f42 100644
--- a/vnext/src/components/Chat.js
+++ b/vnext/src/components/Chat.js
@@ -35,9 +35,9 @@ export default class Chat extends React.Component {
onSend = (template) => {
pm(template.to.uname, template.body)
- .then(res => {
- this.loadChat(this.props.match.params.user);
- }).catch(console.log)
+ .then(res => {
+ this.loadChat(this.props.match.params.user);
+ }).catch(console.log)
}
render() {
@@ -56,7 +56,9 @@ export default class Chat extends React.Component {
)
}
</ul>
- <MessageInput data={{ mid: 0, timestamp: "0", to: { uname: uname } }} onSend={this.onSend} />
+ <MessageInput data={{ mid: 0, timestamp: "0", to: { uname: uname } }} onSend={this.onSend}>
+ Reply...
+ </MessageInput>
</div>
) : (
<div className="chatroom no-selection"><p>No chat selected</p></div>