diff --git a/apps/webapp/app/routes/_app.orgs.$organizationSlug.billing/route.tsx b/apps/webapp/app/routes/_app.orgs.$organizationSlug.billing/route.tsx
index fa0ca526c..4645bf7a7 100644
--- a/apps/webapp/app/routes/_app.orgs.$organizationSlug.billing/route.tsx
+++ b/apps/webapp/app/routes/_app.orgs.$organizationSlug.billing/route.tsx
@@ -52,7 +52,7 @@ export const handle: Handle = {
breadcrumb: (match) => ,
};
-function planLabel(subscription?: ActiveSubscription) {
+function planLabel(subscription: ActiveSubscription | undefined, periodEnd: Date) {
if (!subscription) {
return "You're currently on the Free plan";
}
@@ -66,8 +66,7 @@ function planLabel(subscription?: ActiveSubscription) {
return (
<>
You're on the {costDescription} {subscription.plan.title} plan until{" "}
- when you'll be on the Free
- plan
+ when you'll be on the Free plan
>
);
}
@@ -117,7 +116,7 @@ export default function Page() {
{currentPlan?.subscription && (
}
- value={planLabel(currentPlan.subscription)}
+ value={planLabel(currentPlan.subscription, currentPlan.usage.periodEnd)}
/>
)}
{currentPlan?.subscription?.isPaying && (