mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing add recipient flow issue with contact list/recent recipients (#14771)
This commit is contained in:
parent
c18c3b078e
commit
250b3d5499
@ -208,9 +208,13 @@ export default class AddRecipient extends Component {
|
|||||||
addressBook={addressBook}
|
addressBook={addressBook}
|
||||||
searchForContacts={this.searchForContacts.bind(this)}
|
searchForContacts={this.searchForContacts.bind(this)}
|
||||||
searchForRecents={this.searchForRecents.bind(this)}
|
searchForRecents={this.searchForRecents.bind(this)}
|
||||||
selectRecipient={(address, name) =>
|
selectRecipient={(address, name) => {
|
||||||
this.selectRecipient(address, name, 'contact list')
|
this.selectRecipient(
|
||||||
}
|
address,
|
||||||
|
name,
|
||||||
|
`${name ? 'contact' : 'recent'} list`,
|
||||||
|
);
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{ownedAccounts && ownedAccounts.length > 1 && !userInput && (
|
{ownedAccounts && ownedAccounts.length > 1 && !userInput && (
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user