Skip to content

Commit

Permalink
Merge pull request #1116 from LiskHQ/1090-register-delegate-name-inpu…
Browse files Browse the repository at this point in the history
…t-empty-sends-request

Register Delegate , prevent sent request to core on empty username - Closes #1090
  • Loading branch information
faival committed Aug 6, 2018
2 parents 49518ae + 72ea95d commit ed660f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/registerDelegate/steps/choose/choose.js
Expand Up @@ -55,7 +55,7 @@ class Choose extends React.Component {
},
});

if (error) {
if (error || value === '') {
return;
}

Expand Down

0 comments on commit ed660f8

Please sign in to comment.