potential fix for #536
This commit is contained in:
parent
be95ebf916
commit
eafd1c9143
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ export function doClaimRewardType(rewardType) {
|
||||||
reward = rewardsByType[rewardType],
|
reward = rewardsByType[rewardType],
|
||||||
userIsRewardApproved = selectUserIsRewardApproved(state);
|
userIsRewardApproved = selectUserIsRewardApproved(state);
|
||||||
|
|
||||||
if (reward.transaction_id) {
|
if (!reward || reward.transaction_id) {
|
||||||
//already claimed, do nothing
|
//already claimed or doesn't exist, do nothing
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue