diff --git a/components/settings/OrganizationSettings.tsx b/components/settings/OrganizationSettings.tsx index cf1d82f..6474be3 100644 --- a/components/settings/OrganizationSettings.tsx +++ b/components/settings/OrganizationSettings.tsx @@ -364,6 +364,7 @@ export default function OrganizationSettings() { } let cancelled = false setIsLoadingPreview(true) + setInvoicePreview(null) const interval = changePlanYearly ? 'year' : 'month' const limit = getLimitForTierIndex(changePlanTierIndex) previewInvoice({ plan_id: PLAN_ID_SOLO, interval, limit }) @@ -1471,7 +1472,11 @@ export default function OrganizationSettings() { on {new Date(invoicePreview.period_end * 1000).toLocaleDateString(undefined, { month: 'short', day: 'numeric', year: 'numeric' })}{' '} (prorated)
- ) : null} + ) : ( ++ Unable to calculate preview. Your next invoice will reflect prorations. +
+ )} )}