those arent real functions anymore
This commit is contained in:
parent
9da8a4b8dc
commit
a9fe3a0ed2
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ export function doClaimReward(reward, saveError = false) {
|
|||
|
||||
export function doClaimEligiblePurchaseRewards() {
|
||||
return function(dispatch, getState) {
|
||||
if (!lbryio.enabled || !lbryio.getAccessToken()) {
|
||||
if (!lbryio.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ rewards.TYPE_FEATURED_DOWNLOAD = "featured_download";
|
|||
|
||||
rewards.claimReward = function(type) {
|
||||
function requestReward(resolve, reject, params) {
|
||||
if (!lbryio.enabled || !lbryio.getAccessToken()) {
|
||||
if (!lbryio.enabled) {
|
||||
reject(new Error(__("Rewards are not enabled.")));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue