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],
|
||||
userIsRewardApproved = selectUserIsRewardApproved(state);
|
||||
|
||||
if (reward.transaction_id) {
|
||||
//already claimed, do nothing
|
||||
if (!reward || reward.transaction_id) {
|
||||
//already claimed or doesn't exist, do nothing
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue