Skip to content
Snippets Groups Projects
Commit 0977eaf5 authored by Ronnie Friman's avatar Ronnie Friman
Browse files

result.errorResponse > result.message

parent 4d744e8f
No related branches found
No related tags found
3 merge requests!21Development,!15Get game creation to user-marker-database-interactions,!14Bug fixes
......@@ -56,7 +56,7 @@ export class LoginForm extends React.Component {
this.props.handleState(result);
this.handleView();
} else {
this.handleError(result.errorResponse.message);
this.handleError(result.message);
}
},
// Note: it's important to handle errors here
......
......@@ -62,7 +62,7 @@ export class RegisterForm extends React.Component {
this.props.handleState(result);
this.handleView();
} else {
this.handleError(result.errorResponse.message);
this.handleError(result.message);
}
},
// Note: it's important to handle errors here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment