Show current nick in MessageInput

This commit is contained in:
Ken-Håvard Lieng 2017-05-15 22:51:21 +02:00
parent d3a0a21338
commit 2328cfa940
5 changed files with 53 additions and 24 deletions

View file

@ -37,8 +37,10 @@ export default class MessageInput extends PureComponent {
};
render() {
const { nick } = this.props;
return (
<div className="message-input-wrap">
<span className="message-input-nick">{nick}</span>
<input
className="message-input"
type="text"