dispatch doRewardList after a reward is successfully claimed
This commit is contained in:
parent
e35b93013f
commit
904d37d6f0
4 changed files with 5 additions and 9900 deletions
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
|
@ -7914,6 +7914,8 @@ function doClaimRewardType(rewardType) {
|
||||||
});
|
});
|
||||||
dispatch(_action);
|
dispatch(_action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dispatch(doRewardList());
|
||||||
};
|
};
|
||||||
|
|
||||||
var failure = function failure(error) {
|
var failure = function failure(error) {
|
||||||
|
|
9900
package-lock.json
generated
9900
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -23,6 +23,7 @@
|
||||||
"build": "webpack",
|
"build": "webpack",
|
||||||
"dev": "webpack --watch",
|
"dev": "webpack --watch",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
|
"preinstall": "yarn cache clean lbry-redux",
|
||||||
"lint": "eslint 'src/**/*.js' --fix",
|
"lint": "eslint 'src/**/*.js' --fix",
|
||||||
"format": "prettier 'src/**/*.{js,json}' --write"
|
"format": "prettier 'src/**/*.{js,json}' --write"
|
||||||
},
|
},
|
||||||
|
|
|
@ -73,6 +73,8 @@ export function doClaimRewardType(rewardType, options = {}) {
|
||||||
});
|
});
|
||||||
dispatch(action);
|
dispatch(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dispatch(doRewardList());
|
||||||
};
|
};
|
||||||
|
|
||||||
const failure = error => {
|
const failure = error => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue