Merge pull request #8 from lbryio/refresh-reward-list

dispatch doRewardList after a reward is successfully claimed
This commit is contained in:
Akinwale Ariwodola 2018-10-07 13:53:07 +01:00 committed by GitHub
commit 7c726b4851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 => {