From ff164a0667747488cf77d583c4706dba6db31b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 26 Nov 2024 14:22:04 +0000 Subject: [PATCH] Revert "chore: adapt billing page to custom billing scenarios" This reverts commit 13fbcec5b39229561ea36cf599cd5754b5dbfba8. --- .../BillingInformation/BillingInformation.tsx | 36 ++++++------------- frontend/src/interfaces/instance.ts | 1 - 2 files changed, 11 insertions(+), 26 deletions(-) diff --git a/frontend/src/component/admin/billing/BillingDashboard/BillingInformation/BillingInformation.tsx b/frontend/src/component/admin/billing/BillingDashboard/BillingInformation/BillingInformation.tsx index 2a8a9dbab550..09eb4a3f7e23 100644 --- a/frontend/src/component/admin/billing/BillingDashboard/BillingInformation/BillingInformation.tsx +++ b/frontend/src/component/admin/billing/BillingDashboard/BillingInformation/BillingInformation.tsx @@ -46,40 +46,26 @@ export const BillingInformation = () => { const plan = `${instanceStatus.plan}${isPAYG ? ' Pay-as-You-Go' : ''}`; const inactive = instanceStatus.state !== InstanceState.ACTIVE; - const { isCustomBilling } = instanceStatus; return ( Billing information - Your billing is managed by Unleash - - } - elseShow={ - <> - - In order to{' '} - Upgrade trial you need - to provide us your billing information. - - } - /> - - - {inactive - ? 'Once we have received your billing information we will upgrade your trial within 1 business day' - : 'Update your credit card and business information and change which email address we send invoices to'} - - + + In order to Upgrade trial you need + to provide us your billing information. + } /> + + + {inactive + ? 'Once we have received your billing information we will upgrade your trial within 1 business day' + : 'Update your credit card and business information and change which email address we send invoices to'} +