1
0
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:
Dan 2017-10-20 11:48:01 -02:30
parent 79be956be9
commit 89573533b8

View File

@ -105,6 +105,7 @@ AddTokenScreen.prototype.tokenAddressDidChange = function (e) {
}
AddTokenScreen.prototype.checkExistingAddresses = function (address) {
if (!address) return false
const tokensList = this.props.tokens
const matchesAddress = existingToken => {
return existingToken.address.toLowerCase() === address.toLowerCase()