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}
|
||||
searchForContacts={this.searchForContacts.bind(this)}
|
||||
searchForRecents={this.searchForRecents.bind(this)}
|
||||
selectRecipient={(address, name) =>
|
||||
this.selectRecipient(address, name, 'contact list')
|
||||
}
|
||||
selectRecipient={(address, name) => {
|
||||
this.selectRecipient(
|
||||
address,
|
||||
name,
|
||||
`${name ? 'contact' : 'recent'} list`,
|
||||
);
|
||||
}}
|
||||
>
|
||||
{ownedAccounts && ownedAccounts.length > 1 && !userInput && (
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user