fix: invite reward button

This commit is contained in:
Thomas Zarebczan 2020-04-02 15:09:35 -04:00
parent 33c64a9400
commit 1164525d27
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -1,7 +1,6 @@
// @flow // @flow
import React from 'react'; import React from 'react';
import RewardLink from 'component/rewardLink'; import RewardLink from 'component/rewardLink';
import { rewards } from 'lbryinc';
import Icon from 'component/common/icon'; import Icon from 'component/common/icon';
import * as ICONS from 'constants/icons'; import * as ICONS from 'constants/icons';
@ -48,7 +47,7 @@ class InviteList extends React.PureComponent<Props> {
<RewardLink <RewardLink
button button
label={__(`Claim Your ${rewardAmount} LBC Invite Reward`)} label={__(`Claim Your ${rewardAmount} LBC Invite Reward`)}
reward_type={rewards.TYPE_REFERRAL} claim_code={referralReward.claim_code}
/> />
)} )}
</div> </div>