Fixes for error messages

This commit is contained in:
Aleksandr Pantiukhov 2018-10-24 16:08:37 +02:00 committed by Barry G
parent 3e64c00806
commit bcfd61ff65
1 changed files with 1 additions and 8 deletions

View File

@ -32,11 +32,7 @@ class InnerForm extends React.Component {
};
onRegisterClick = ({values, setStatus}) => {
if (values.statusAddress) {
setStatus("terms");
} else {
alert("You have to grant access to your contact code first")
}
setStatus("terms");
};
render() {
@ -241,9 +237,6 @@ const RegisterSubDomain = withFormik({
}).catch(err => {
console.log("Register would error. :/ Already Registered? Have Token Balance? Is Allowance set?")
console.dir(err);
if (err && err.message) {
alert(err.message);
}
setSubmitting(false);
});
}