aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-31 15:36:38 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit00e3dfc65935390700bc0150d0e92c94b7296b64 (patch)
tree3e1ea794e35440aa9e52df025b0e88a4b76ac919 /vnext/src/components
parent5bc5847166731b470376c93fa5cfd39aee935fc1 (diff)
fix Contact
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Contact.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js
index 1a45c053..820b3e05 100644
--- a/vnext/src/components/Contact.js
+++ b/vnext/src/components/Contact.js
@@ -9,8 +9,9 @@ export default class Contact extends React.Component {
const { user } = this.props;
return (
<>
- <Avatar user={user} link={`/pm/${user.uname}`} />
- {user.uname }{ user.unreadCount && <span className="badge">{user.unreadCount}</span>}
+ <Avatar user={user} link={`/pm/${user.uname}`}>
+ { user.unreadCount && <span className="badge">{user.unreadCount}</span>}
+ </Avatar>
</>
);
}