diff options
author | Vitaly Takmazov | 2018-08-31 15:36:38 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 00e3dfc65935390700bc0150d0e92c94b7296b64 (patch) | |
tree | 3e1ea794e35440aa9e52df025b0e88a4b76ac919 /vnext/src/components | |
parent | 5bc5847166731b470376c93fa5cfd39aee935fc1 (diff) |
fix Contact
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/Contact.js | 5 |
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> </> ); } |