call rewardList after invite status so rewards are updated based on invites
This commit is contained in:
parent
375cc397d8
commit
da78018f72
2 changed files with 4 additions and 0 deletions
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue