Don't prevent user from setting an eth address in to field if there is no ens support.
This commit is contained in:
parent
9930f5996c
commit
40bbca5d0d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue