dispatch doRewardList after a reward is successfully claimed

This commit is contained in:
Akinwale Ariwodola 2018-10-04 14:08:28 +01:00
parent e35b93013f
commit 904d37d6f0
4 changed files with 5 additions and 9900 deletions

2
dist/bundle.js vendored
View file

@ -7914,6 +7914,8 @@ function doClaimRewardType(rewardType) {
});
dispatch(_action);
}
dispatch(doRewardList());
};
var failure = function failure(error) {

9900
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"build": "webpack",
"dev": "webpack --watch",
"precommit": "lint-staged",
"preinstall": "yarn cache clean lbry-redux",
"lint": "eslint 'src/**/*.js' --fix",
"format": "prettier 'src/**/*.{js,json}' --write"
},

View file

@ -73,6 +73,8 @@ export function doClaimRewardType(rewardType, options = {}) {
});
dispatch(action);
}
dispatch(doRewardList());
};
const failure = error => {