Compute from embedded contact's displayName

This commit is contained in:
Fedor Indutny 2024-10-01 14:46:56 -07:00 committed by GitHub
parent f730b0c82b
commit bb69f81b9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 63 additions and 51 deletions

View file

@ -101,7 +101,6 @@ const fullContact = {
prefix: 'Dr.',
suffix: 'Jr.',
middleName: 'James',
displayName: 'Jerry Jordan',
},
number: [
{

View file

@ -1916,7 +1916,6 @@ const fullContact = {
prefix: 'Dr.',
suffix: 'Jr.',
middleName: 'James',
displayName: 'Jerry Jordan',
},
number: [
{
@ -1987,7 +1986,7 @@ export const EmbeddedContactLoadingAvatar = Template.bind({});
EmbeddedContactLoadingAvatar.args = {
contact: {
name: {
displayName: 'Jerry Jordan',
nickname: 'Jerry',
},
avatar: {
avatar: fakeAttachment({