diff --git a/js/page/claim_code.js b/js/page/claim_code.js index 1655d37da..642c8af67 100644 --- a/js/page/claim_code.js +++ b/js/page/claim_code.js @@ -126,10 +126,10 @@ var ClaimCodePage = React.createClass({ Your invite code has been redeemed. {this.state.referralCredits > 0 - ? `You have also earned {referralCredits} credits from referrals. A total of {activationCredits + referralCredits} + ? `You have also earned ${referralCredits} credits from referrals. A total of ${activationCredits + referralCredits} will be added to your balance shortly.` : (this.state.activationCredits > 0 - ? `{this.state.activationCredits} credits will be added to your balance shortly.` + ? `${this.state.activationCredits} credits will be added to your balance shortly.` : 'The credits will be added to your balance shortly.')} diff --git a/js/page/referral.js b/js/page/referral.js index 4cbcf930d..33f4f3704 100644 --- a/js/page/referral.js +++ b/js/page/referral.js @@ -105,7 +105,7 @@ var ReferralPage = React.createClass({ {this.state.referralCredits > 0 - ? `You have earned {response.referralCredits} credits from referrals. We will credit your account shortly. Thanks!` + ? `You have earned ${response.referralCredits} credits from referrals. We will credit your account shortly. Thanks!` : 'You have not earned any new referral credits since the last time you checked. Please check back in a week or two.'}