update reward tile copy

This commit is contained in:
Jeremy Kauffman 2020-01-14 11:49:52 -05:00 committed by Sean Yesmunt
parent 649fff500a
commit 27790e7c5a

View file

@ -38,13 +38,13 @@ const RewardTile = (props: Props) => {
<Button button="primary" onClick={openRewardCodeModal} label={__('Enter Code')} />
)}
{reward.reward_type === rewards.TYPE_REFERRAL && (
<Button button="primary" navigate="/$/invite" label={__('Go To Invites')} />
<Button button="primary" navigate="/$/invite" label={__('Go to Invites')} />
)}
{reward.reward_type === rewards.TYPE_REFEREE && (
<Button
button="primary"
onClick={openSetReferrerModal}
label={referrerSet ? __('Change Referrer') : __('Set Referrer')}
label={referrerSet ? __('Change Invitee') : __('Set Invitee')}
/>
)}
{reward.reward_type !== rewards.TYPE_REFERRAL &&