diff options
Fixes add token search.
-rw-r--r-- | ui/app/add-token.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/add-token.js b/ui/app/add-token.js index 90edc8de1..3ef9b6814 100644 --- a/ui/app/add-token.js +++ b/ui/app/add-token.js @@ -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() |