We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fde95 commit 9911993Copy full SHA for 9911993
src/components/ContactDropdownList/index.js
@@ -70,7 +70,7 @@ function ContactDropdownList(props) {
70
name: item.name,
71
phoneNumber: item.phoneNumber,
72
})}
73
- key={JSON.stringify(item)}
+ key={`${item.phoneNumber}${item.name}${item.phoneType}`}
74
/>
75
))
76
}
src/components/RecipientsHeader/index.js
@@ -26,7 +26,7 @@ function RecipientList(props) {
26
{
27
recipients.map(receiver => (
28
<Recipient
29
- key={JSON.stringify(receiver)}
+ key={`${receiver.extensionNumber}${receiver.phoneNumber}${receiver.name}`}
30
name={props.getRecipientName(receiver)}
31
onClick={
32
() => props.setDefaultRecipient(
0 commit comments