diff options
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> </> ); } |