From 40bbca5d0d08bd8121712656989e0464104e6903 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 4 Apr 2018 15:45:29 -0230 Subject: [PATCH] Don't prevent user from setting an eth address in to field if there is no ens support. --- ui/app/components/ens-input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js index 1f3946817..feb0a7037 100644 --- a/ui/app/components/ens-input.js +++ b/ui/app/components/ens-input.js @@ -32,10 +32,10 @@ EnsInput.prototype.render = function () { const network = this.props.network const networkHasEnsSupport = getNetworkEnsSupport(network) - if (!networkHasEnsSupport) return - props.onChange(recipient) + if (!networkHasEnsSupport) return + if (recipient.match(ensRE) === null) { return this.setState({ loadingEns: false,