From f089eb6c3a329e6f836bc6fddf3930f6f7de2c77 Mon Sep 17 00:00:00 2001 From: deityhub Date: Mon, 20 Jul 2020 13:40:10 +0100 Subject: [PATCH] refactor to be like other pricing modal --- .../src/components/basic/PricingPlanModal.js | 95 ++++++++++--------- 1 file changed, 50 insertions(+), 45 deletions(-) diff --git a/dashboard/src/components/basic/PricingPlanModal.js b/dashboard/src/components/basic/PricingPlanModal.js index cabfc28758..5f887a52cb 100644 --- a/dashboard/src/components/basic/PricingPlanModal.js +++ b/dashboard/src/components/basic/PricingPlanModal.js @@ -45,7 +45,7 @@ const PricingPlanModal = ({
- + Upgrade Plan
@@ -67,51 +67,56 @@ const PricingPlanModal = ({ )}
-
-
- Choose a Plan -
- {plans.map((plan, index) => ( -
- - {plan.category}{' '} - {plan.type === 'month' - ? 'Monthly' - : 'Yearly'}{' '} - Plan - -
- - -
+
+
+
+ Choose a Plan
- ))} + {plans.map((plan, index) => ( +
+ + {plan.category}{' '} + {plan.type === 'month' + ? 'Monthly' + : 'Yearly'}{' '} + Plan + +
+ + +
+
+ ))} +