From c5804817f1884257661e19ff5e03070558a5f80b Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Mon, 5 Nov 2018 17:56:31 +0300
Subject: Code cleanup
---
vnext/src/components/Contact.js | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
(limited to 'vnext/src')
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 (
- <>
-
- {user.unreadCount && {user.unreadCount}}
- {user.lastMessageText}
-
- >
+
+ {user.unreadCount && {user.unreadCount}}
+ {user.lastMessageText}
+
);
});
--
cgit v1.2.3