diff --git a/src/components/Billing/BillingPage.tsx b/src/components/Billing/BillingPage.tsx index 54d7285d4..ffcc3155e 100644 --- a/src/components/Billing/BillingPage.tsx +++ b/src/components/Billing/BillingPage.tsx @@ -114,21 +114,6 @@ export function BillingPage() { ); - if (!priceDetails) { - return ( -
-

Uh oh!

-

- We couldn't find your subscription details. Please contact support at - - info@roadmap.sh - - . -

-
- ); - } - if (billingDetails?.status === 'none' || isIncompleteExpired) { return ( <> @@ -184,6 +169,21 @@ export function BillingPage() { ); } + if (!priceDetails) { + return ( +
+

Uh oh!

+

+ We couldn't find your subscription details. Please contact support at + + info@roadmap.sh + + . +

+
+ ); + } + return ( <> {modals}