Remove unused name on Avatar

This commit is contained in:
Alvaro 2022-09-28 10:27:52 -06:00 committed by GitHub
parent 0c120eaf3a
commit ab153b30c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 4 additions and 77 deletions

View file

@ -259,7 +259,7 @@ const createConversation = (
id: overrideProps.id || '',
isSelected: boolean('isSelected', overrideProps.isSelected || false),
title: text('title', overrideProps.title || 'Some Person'),
name: overrideProps.name || 'Some Person',
profileName: overrideProps.profileName || 'Some Person',
type: overrideProps.type || 'direct',
markedUnread: boolean('markedUnread', overrideProps.markedUnread || false),
lastMessage: overrideProps.lastMessage || {
@ -313,7 +313,7 @@ export const ConversationWithYourself = (): JSX.Element =>
status: 'read',
deletedForEveryone: false,
},
name: 'Myself',
profileName: 'Myself',
title: 'Myself',
isMe: true,
});
@ -451,7 +451,6 @@ export const ConversationLongName = (): JSX.Element => {
'Long contact name. Esquire. The third. And stuff. And more! And more!';
return renderConversation({
name,
title: name,
});
};