Re-add nick click handler in Message
This commit is contained in:
parent
52acec9d21
commit
cbe3b95d8c
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user