Remove unnecessary props from <ContactName>
This commit is contained in:
parent
43685d15c6
commit
eed7aff925
42 changed files with 57 additions and 423 deletions
|
@ -168,13 +168,7 @@ export class MessageDetail extends React.Component<Props> {
|
|||
{this.renderAvatar(contact)}
|
||||
<div className="module-message-detail__contact__text">
|
||||
<div className="module-message-detail__contact__name">
|
||||
<ContactName
|
||||
phoneNumber={contact.phoneNumber}
|
||||
name={contact.name}
|
||||
profileName={contact.profileName}
|
||||
title={contact.title}
|
||||
i18n={i18n}
|
||||
/>
|
||||
<ContactName title={contact.title} />
|
||||
</div>
|
||||
{errors.map(error => (
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue