Fetch rewards after authentication success
This commit is contained in:
parent
83f72a83b0
commit
d4438914d5
1 changed files with 1 additions and 0 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue