mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixes add token search.
This commit is contained in:
parent
79be956be9
commit
89573533b8
@ -105,6 +105,7 @@ AddTokenScreen.prototype.tokenAddressDidChange = function (e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddTokenScreen.prototype.checkExistingAddresses = function (address) {
|
AddTokenScreen.prototype.checkExistingAddresses = function (address) {
|
||||||
|
if (!address) return false
|
||||||
const tokensList = this.props.tokens
|
const tokensList = this.props.tokens
|
||||||
const matchesAddress = existingToken => {
|
const matchesAddress = existingToken => {
|
||||||
return existingToken.address.toLowerCase() === address.toLowerCase()
|
return existingToken.address.toLowerCase() === address.toLowerCase()
|
||||||
|
Loading…
Reference in New Issue
Block a user