mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-12 05:19:47 +00:00
don't show rewards message if no claimable rewards
This commit is contained in:
parent
8519129211
commit
55209a21cf
1 changed files with 7 additions and 10 deletions
|
@ -25,16 +25,13 @@ const ModalCreditIntro = props => {
|
||||||
can take are limited.
|
can take are limited.
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
<p>
|
{totalRewardValue && (
|
||||||
There are a variety of ways to get credits, including more than{' '}
|
<p>
|
||||||
{totalRewardValue ? (
|
There are a variety of ways to get credits, including more than{' '}
|
||||||
<CreditAmount noStyle amount={totalRewardRounded} />
|
<CreditAmount noStyle amount={totalRewardRounded} />{' '}
|
||||||
) : (
|
{__('in free rewards for participating in the LBRY beta.')}
|
||||||
<span className="credit-amount">{__('?? credits')}</span>
|
</p>
|
||||||
)}{' '}
|
)}
|
||||||
{__(' in free rewards for participating in the LBRY beta.')}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div className="card__actions card__actions--center">
|
<div className="card__actions card__actions--center">
|
||||||
<Button button="primary" onClick={addBalance} label={__('Get Credits')} />
|
<Button button="primary" onClick={addBalance} label={__('Get Credits')} />
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Add table
Reference in a new issue