bunch of fixes, need to refactoring to move state to the store in order to make it more fluxy

This commit is contained in:
Edin Dazdarevic
2015-03-19 22:29:16 +01:00
parent bc10740780
commit a7e40e579f
5 changed files with 93 additions and 213 deletions

View File

@@ -22,6 +22,9 @@ var handleRegistrationFailure = function(error) {
success: false,
error: error
};
console.log('ERROR JE: ', error);
};
var handleLoginSuccess = function(user) {
@@ -141,4 +144,4 @@ AppDispatcher.register(function(payload) {
});
module.exports = UserStore;
module.exports = UserStore;