aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Contact.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-07 14:36:45 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit477b6deb29bf5ea6dd6adba62205cd10fcf9c36d (patch)
tree6b7c31195febe0d108b26ada1d9d443aa8eee894 /vnext/src/components/Contact.js
parent6ecedec4983b00674089d07b55122b545d017688 (diff)
Chat spinner and styling
Diffstat (limited to 'vnext/src/components/Contact.js')
-rw-r--r--vnext/src/components/Contact.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js
index 4b8901a8..dd68d338 100644
--- a/vnext/src/components/Contact.js
+++ b/vnext/src/components/Contact.js
@@ -3,9 +3,9 @@ import { UserType } from './Types';
import Avatar from './Avatar';
-const Contact = React.memo(({ user, ...rest }) => {
+const Contact = React.memo(({ user, style, ...rest }) => {
return (
- <Avatar user={user} link={`/pm/${user.uname}`}>
+ <Avatar user={user} link={`/pm/${user.uname}`} style={style}>
{user.unreadCount && <span className="badge">{user.unreadCount}</span>}
<div className="msg-ts">{user.lastMessageText}</div>
</Avatar>