call rewardList after invite status so rewards are updated based on invites

This commit is contained in:
Sean Yesmunt 2019-02-04 12:03:26 -05:00
parent 375cc397d8
commit da78018f72
2 changed files with 4 additions and 0 deletions

2
dist/bundle.js vendored
View file

@ -8658,6 +8658,8 @@ function doFetchInviteStatus() {
});
_lbryio2.default.call('user', 'invite_status').then(function (status) {
dispatch((0, _rewards.doRewardList)());
dispatch({
type: _lbryRedux.ACTIONS.USER_INVITE_STATUS_FETCH_SUCCESS,
data: {

View file

@ -16,6 +16,8 @@ export function doFetchInviteStatus() {
Lbryio.call('user', 'invite_status')
.then(status => {
dispatch(doRewardList());
dispatch({
type: ACTIONS.USER_INVITE_STATUS_FETCH_SUCCESS,
data: {