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

@ -56,7 +56,6 @@ export type Props = {
acceptedMessageRequest: boolean;
conversationType: 'group' | 'direct';
isMe: boolean;
name?: string;
noteToSelf?: boolean;
phoneNumber?: string;
profileName?: string;
@ -302,7 +301,6 @@ export const Avatar: FunctionComponent<Props> = ({
aria-label={i18n('contactAvatarAlt', [title])}
className={classNames(
'module-Avatar',
hasImage ? 'module-Avatar--with-image' : 'module-Avatar--no-image',
Boolean(storyRing) && 'module-Avatar--with-story',
storyRing === HasStories.Unread && 'module-Avatar--with-story--unread',
className