fix invite reward claim
This commit is contained in:
parent
421f88a077
commit
c06009f006
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ export function doClaimRewardType(rewardType) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
rewards.claimReward(reward.reward_type).then(success, failure);
|
rewards.claimReward(rewardType).then(success, failure);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ class InviteList extends React.PureComponent {
|
||||||
: invitee.invite_accepted
|
: invitee.invite_accepted
|
||||||
? <RewardLink
|
? <RewardLink
|
||||||
label={__("Claim")}
|
label={__("Claim")}
|
||||||
reward_type={rewards.TYPE_FIRST_PUBLISH}
|
reward_type={rewards.TYPE_REFERRAL}
|
||||||
/>
|
/>
|
||||||
: <span className="empty">
|
: <span className="empty">
|
||||||
{__("unclaimable")}
|
{__("unclaimable")}
|
||||||
|
|
Loading…
Reference in a new issue