remove hard coded reward amount
This commit is contained in:
parent
e7c41590ba
commit
95233c2196
2 changed files with 2 additions and 8 deletions
|
@ -878,7 +878,6 @@
|
|||
"Wallet servers are used to relay data to and from the LBRY blockchain. They also determine what content shows in trending or is blocked. %learn_more%.": "Wallet servers are used to relay data to and from the LBRY blockchain. They also determine what content shows in trending or is blocked. %learn_more%.",
|
||||
"Your Tags": "Your Tags",
|
||||
"All Content": "All Content",
|
||||
"Claim Your 5 LBC Invite Reward": "Claim Your 5 LBC Invite Reward",
|
||||
"Accepted": "Accepted",
|
||||
"Claimable": "Claimable",
|
||||
"Invite A Friend": "Invite A Friend",
|
||||
|
|
|
@ -20,7 +20,6 @@ type Props = {
|
|||
|
||||
function InviteNew(props: Props) {
|
||||
const { inviteNew, errorMessage, isPending, referralCode = '', channels } = props;
|
||||
const rewardAmount = 15;
|
||||
|
||||
// Email
|
||||
const [email, setEmail] = useState('');
|
||||
|
@ -74,9 +73,7 @@ function InviteNew(props: Props) {
|
|||
<div className={'columns'}>
|
||||
<Card
|
||||
title={__('Invite Link')}
|
||||
subtitle={__('Share this link with friends (or enemies) and get %reward_amount% LBC when they join lbry.tv', {
|
||||
reward_amount: rewardAmount,
|
||||
})}
|
||||
subtitle={__('Share this link with friends (or enemies) and get LBC when they join lbry.tv')}
|
||||
actions={
|
||||
<React.Fragment>
|
||||
<CopyableText label={__('Your invite link')} copyable={referral} />
|
||||
|
@ -104,9 +101,7 @@ function InviteNew(props: Props) {
|
|||
|
||||
<Card
|
||||
title={__('Invite by Email')}
|
||||
subtitle={__('Invite someone you know by email and earn %reward_amount% LBC when they join lbry.tv.', {
|
||||
reward_amount: rewardAmount,
|
||||
})}
|
||||
subtitle={__('Invite someone you know by email and earn LBC when they join lbry.tv.')}
|
||||
actions={
|
||||
<React.Fragment>
|
||||
<Form onSubmit={handleSubmit}>
|
||||
|
|
Loading…
Reference in a new issue