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%.",
|
"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",
|
"Your Tags": "Your Tags",
|
||||||
"All Content": "All Content",
|
"All Content": "All Content",
|
||||||
"Claim Your 5 LBC Invite Reward": "Claim Your 5 LBC Invite Reward",
|
|
||||||
"Accepted": "Accepted",
|
"Accepted": "Accepted",
|
||||||
"Claimable": "Claimable",
|
"Claimable": "Claimable",
|
||||||
"Invite A Friend": "Invite A Friend",
|
"Invite A Friend": "Invite A Friend",
|
||||||
|
|
|
@ -20,7 +20,6 @@ type Props = {
|
||||||
|
|
||||||
function InviteNew(props: Props) {
|
function InviteNew(props: Props) {
|
||||||
const { inviteNew, errorMessage, isPending, referralCode = '', channels } = props;
|
const { inviteNew, errorMessage, isPending, referralCode = '', channels } = props;
|
||||||
const rewardAmount = 15;
|
|
||||||
|
|
||||||
// Email
|
// Email
|
||||||
const [email, setEmail] = useState('');
|
const [email, setEmail] = useState('');
|
||||||
|
@ -74,9 +73,7 @@ function InviteNew(props: Props) {
|
||||||
<div className={'columns'}>
|
<div className={'columns'}>
|
||||||
<Card
|
<Card
|
||||||
title={__('Invite Link')}
|
title={__('Invite Link')}
|
||||||
subtitle={__('Share this link with friends (or enemies) and get %reward_amount% LBC when they join lbry.tv', {
|
subtitle={__('Share this link with friends (or enemies) and get LBC when they join lbry.tv')}
|
||||||
reward_amount: rewardAmount,
|
|
||||||
})}
|
|
||||||
actions={
|
actions={
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<CopyableText label={__('Your invite link')} copyable={referral} />
|
<CopyableText label={__('Your invite link')} copyable={referral} />
|
||||||
|
@ -104,9 +101,7 @@ function InviteNew(props: Props) {
|
||||||
|
|
||||||
<Card
|
<Card
|
||||||
title={__('Invite by Email')}
|
title={__('Invite by Email')}
|
||||||
subtitle={__('Invite someone you know by email and earn %reward_amount% LBC when they join lbry.tv.', {
|
subtitle={__('Invite someone you know by email and earn LBC when they join lbry.tv.')}
|
||||||
reward_amount: rewardAmount,
|
|
||||||
})}
|
|
||||||
actions={
|
actions={
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Form onSubmit={handleSubmit}>
|
<Form onSubmit={handleSubmit}>
|
||||||
|
|
Loading…
Reference in a new issue