From 4868efdfb9173fc9d3e3a4cd856ef2034a3b4158 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 28 Nov 2016 18:24:38 -0500 Subject: [PATCH] Fix missing $ in string interpolation in a few modals --- js/page/claim_code.js | 4 ++-- js/page/referral.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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.'}