no need to have blank 'errors' property in the states. validation plugin now handles that

This commit is contained in:
Edin Dazdarevic
2015-03-04 22:55:16 +01:00
parent 38de717da9
commit b47a90b476
4 changed files with 7 additions and 5 deletions

View File

@@ -31,7 +31,6 @@ var Login = React.createClass({
return {
email: '',
password: '',
errors: {},
login: UserStore.getLoginState()
};
},

View File

@@ -18,7 +18,6 @@ var Register = React.createClass({
email: '',
password: '',
passwordConfirmation: '',
errors: {},
registration: UserStore.getRegistrationState()
};
},