Don't prevent user from setting an eth address in to field if there is no ens support.

This commit is contained in:
Dan 2018-04-04 15:45:29 -02:30
parent 9930f5996c
commit 40bbca5d0d
1 changed files with 2 additions and 2 deletions

View File

@ -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,