From cbe3b95d8c2717940c2317da24eacf349201a3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Sat, 6 May 2017 23:02:45 +0200 Subject: [PATCH] Re-add nick click handler in Message --- client/src/js/components/Message.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/js/components/Message.js b/client/src/js/components/Message.js index 47c5378c..e3ae51d9 100644 --- a/client/src/js/components/Message.js +++ b/client/src/js/components/Message.js @@ -1,6 +1,8 @@ import React, { PureComponent } from 'react'; export default class Message extends PureComponent { + handleNickClick = () => this.props.onNickClick(this.props.message); + render() { const { message } = this.props; const className = message.type ? `message message-${message.type}` : 'message';