Fetch rewards after authentication success

This commit is contained in:
6ea86b96 2017-06-23 12:30:26 +07:00
parent 83f72a83b0
commit d4438914d5
No known key found for this signature in database
GPG key ID: B282D183E4931E8F

View file

@ -16,6 +16,7 @@ export function doAuthenticate() {
type: types.AUTHENTICATION_SUCCESS, type: types.AUTHENTICATION_SUCCESS,
data: { user }, data: { user },
}); });
dispatch(doRewardList());
}) })
.catch(error => { .catch(error => {
dispatch({ dispatch({