From 9a52058f1f47f4e16de33e5f357c545bd303ec19 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 2 Nov 2026 22:32:41 -0800 Subject: [PATCH] chore(billing): drop the unreachable organization branch from the plan upgrade copy #9614 gave organization routes their own message, so the organization wording #9616 added to `action` is never read --- .../[workspaceId]/home/hooks/use-plan-upgrade-link.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/home/hooks/use-plan-upgrade-link.ts b/apps/sim/app/workspace/[workspaceId]/home/hooks/use-plan-upgrade-link.ts index d6ac2d88829..dc3857425b6 100644 --- a/apps/sim/app/workspace/[workspaceId]/home/hooks/use-plan-upgrade-link.ts +++ b/apps/sim/app/workspace/[workspaceId]/home/hooks/use-plan-upgrade-link.ts @@ -61,9 +61,7 @@ export function usePlanUpgradeLink(data: PlanUpgradeLinkInput): PlanUpgradeLink ? organizationContext.viewer.isAdmin : Boolean(hostContext && canManageWorkspaceBilling(hostContext, session?.user?.id))) const action = planRequired - ? organizationContext - ? 'upgrade the organization’s plan' - : 'upgrade this workspace’s plan' + ? 'upgrade this workspace’s plan' : 'manage this workspace’s usage limits' const unavailableMessage = organizationContext ? planRequired