kylecorbelli / redux-token-auth

Redux actions and reducers to integrate easily with Devise Token Auth
MIT License
154 stars 80 forks source link

signInUser().then() not a function #59

Closed baaart closed 5 years ago

baaart commented 5 years ago

I recieve signInUser().then() not a function error, when trying to add some action according to docs. When i call a function from console. this is the result.

ƒ (dispatch) {
      return __awaiter(this, void 0, void 0, function () {
        var email, password, response, userAttributesToSave, error_3;
        return __generator(this, function (_a) {
        …
baaart commented 5 years ago

I wrongly constructed mapDispatchToProps, problem solved. Closing