mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Remove unnecessary props from <ContactName>
This commit is contained in:
@@ -11,10 +11,7 @@ import { LocalizerType } from '../../types/Util';
|
||||
|
||||
export type ContactType = {
|
||||
id: string;
|
||||
phoneNumber?: string;
|
||||
profileName?: string;
|
||||
title: string;
|
||||
name?: string;
|
||||
};
|
||||
|
||||
export type PropsData = {
|
||||
@@ -54,12 +51,8 @@ export const SafetyNumberNotification = ({
|
||||
className="module-safety-number-notification__contact"
|
||||
>
|
||||
<ContactName
|
||||
name={contact.name}
|
||||
profileName={contact.profileName}
|
||||
phoneNumber={contact.phoneNumber}
|
||||
title={contact.title}
|
||||
module="module-safety-number-notification__contact"
|
||||
i18n={i18n}
|
||||
/>
|
||||
</span>,
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user