simplify first reward

This commit is contained in:
Travis Eden 2018-05-30 12:07:56 -04:00
parent 8011b1e3be
commit 186c437955

View file

@ -6,7 +6,7 @@ import CreditAmount from 'component/common/credit-amount';
class ModalFirstReward extends React.PureComponent { class ModalFirstReward extends React.PureComponent {
render() { render() {
const { closeModal, reward } = this.props; const { closeModal } = this.props;
return ( return (
<Modal <Modal
@ -18,10 +18,7 @@ class ModalFirstReward extends React.PureComponent {
> >
<section> <section>
<h3 className="modal__header">{__('Your First Reward')}</h3> <h3 className="modal__header">{__('Your First Reward')}</h3>
<p> <p>{__('You just earned your first reward.')}</p>
{__('You just earned your first reward of')}{' '}
<CreditAmount amount={reward.reward_amount} />.
</p>
<p> <p>
{__( {__(
"This reward will show in your Wallet in the top right momentarily (if it hasn't already)." "This reward will show in your Wallet in the top right momentarily (if it hasn't already)."