Skip to content

Commit

Permalink
Add error to indicate when network does not support ENS
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Jul 25, 2019
1 parent ea85bfa commit 4578c87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class EnsInput extends Component {
// maybe scan ENS
if (!input || isValidAddress(input) || !networkHasEnsSupport) {
updateEnsResolution('')
updateEnsResolutionError('')
updateEnsResolutionError(!networkHasEnsSupport ? 'Network does not support ENS' : '')
return
}

Expand Down

0 comments on commit 4578c87

Please sign in to comment.