diff options
Diffstat (limited to 'vnext')
-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 1a45c0536..820b3e052 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> </> ); } |