aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vnext/src/components/Contact.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js
index 787acd57..4b8901a8 100644
--- a/vnext/src/components/Contact.js
+++ b/vnext/src/components/Contact.js
@@ -3,14 +3,12 @@ import { UserType } from './Types';
import Avatar from './Avatar';
-const Contact = React.memo(({user, ...rest}) => {
+const Contact = React.memo(({ user, ...rest }) => {
return (
- <>
- <Avatar user={user} link={`/pm/${user.uname}`}>
- {user.unreadCount && <span className="badge">{user.unreadCount}</span>}
- <div className="msg-ts">{user.lastMessageText}</div>
- </Avatar>
- </>
+ <Avatar user={user} link={`/pm/${user.uname}`}>
+ {user.unreadCount && <span className="badge">{user.unreadCount}</span>}
+ <div className="msg-ts">{user.lastMessageText}</div>
+ </Avatar>
);
});