diff --git a/packages/clerk-js/src/core/resources/BillingSubscription.ts b/packages/clerk-js/src/core/resources/BillingSubscription.ts index 73e67e58863..27254116778 100644 --- a/packages/clerk-js/src/core/resources/BillingSubscription.ts +++ b/packages/clerk-js/src/core/resources/BillingSubscription.ts @@ -19,6 +19,7 @@ import { unixEpochToDate } from '@/utils/date'; import { billingCreditsFromJSON, billingMoneyAmountFromJSON, + billingPerUnitTotalTierFromJSON, billingSubscriptionItemNextPaymentFromJSON, billingSubscriptionNextPaymentFromJSON, } from '../../utils'; diff --git a/packages/ui/src/components/Checkout/CheckoutForm.tsx b/packages/ui/src/components/Checkout/CheckoutForm.tsx index 9d2b33ad4dd..f6e99b18ee3 100644 --- a/packages/ui/src/components/Checkout/CheckoutForm.tsx +++ b/packages/ui/src/components/Checkout/CheckoutForm.tsx @@ -122,13 +122,6 @@ export const CheckoutForm = withCardStateProvider(() => { /> )} - - - - {showProratedDiscount && ( @@ -180,7 +173,10 @@ export const CheckoutForm = withCardStateProvider(() => { /> ) : showRenewalTotals ? null : totals.totalDuePerPeriod ? ( - + { {showRenewalTotals && ( <> - - - -