From 3bf078b8aaad2c15c47c86d8d12f5060376819a1 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 15 Sep 2022 15:14:31 +0530 Subject: [PATCH] change back strings --- .../pages/gallery/PlanSelector/manageSubscription/index.tsx | 4 ++-- src/utils/strings/englishConstants.tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx b/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx index d08249d2a..5b9166e78 100644 --- a/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx +++ b/src/components/pages/gallery/PlanSelector/manageSubscription/index.tsx @@ -59,7 +59,7 @@ function StripeSubscriptionOptions({ subscription.expiryTime ), proceed: { - text: constants.REACTIVATE, + text: constants.REACTIVATE_SUBSCRIPTION, action: activateSubscription.bind( null, appContext.setDialogMessage, @@ -77,7 +77,7 @@ function StripeSubscriptionOptions({ title: constants.CANCEL_SUBSCRIPTION, content: constants.CANCEL_SUBSCRIPTION_MESSAGE(), proceed: { - text: constants.CANCEL, + text: constants.CANCEL_SUBSCRIPTION, action: cancelSubscription.bind( null, appContext.setDialogMessage, diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index a12f68ef3..27f83056b 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -331,7 +331,6 @@ const englishConstants = { SUBSCRIPTION_CANCEL_SUCCESS: 'Subscription canceled successfully', REACTIVATE_SUBSCRIPTION: 'Reactivate subscription', - REACTIVATE: 'Reactivate ', REACTIVATE_SUBSCRIPTION_MESSAGE: (expiryTime) => `Once reactivated, you will be billed on ${dateString(expiryTime)}`, SUBSCRIPTION_ACTIVATE_SUCCESS: 'Subscription activated successfully ',