Updated chat in profile

- Chat in profile now directs to private message with user
This commit is contained in:
mgabdev
2020-03-23 18:26:05 -04:00
parent 3d3b51ee1a
commit 02ca61f669
2 changed files with 3 additions and 16 deletions

View File

@@ -36,6 +36,8 @@ export default class IconButton extends React.PureComponent {
};
handleClick = (e) => {
if (!this.props.onClick) return;
e.preventDefault();
if (!this.props.disabled) {
@@ -89,6 +91,7 @@ export default class IconButton extends React.PureComponent {
style={style}
tabIndex={tabIndex}
disabled={disabled}
type={type}
>
<Icon id={icon} fixedWidth aria-hidden='true' />
</button>