Skip to content

Commit 32af8bc

Browse files
authored
chore(billing): drop the unreachable organization branch from the plan upgrade copy (#9618)
#9614 gave organization routes their own message, so the organization wording #9616 added to `action` is never read
1 parent a2495e3 commit 32af8bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/home/hooks/use-plan-upgrade-link.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ export function usePlanUpgradeLink(data: PlanUpgradeLinkInput): PlanUpgradeLink
6161
? organizationContext.viewer.isAdmin
6262
: Boolean(hostContext && canManageWorkspaceBilling(hostContext, session?.user?.id)))
6363
const action = planRequired
64-
? organizationContext
65-
? 'upgrade the organization’s plan'
66-
: 'upgrade this workspace’s plan'
64+
? 'upgrade this workspace’s plan'
6765
: 'manage this workspace’s usage limits'
6866
const unavailableMessage = organizationContext
6967
? planRequired

0 commit comments

Comments
 (0)