Skip to content

Commit 8531ff2

Browse files
committed
chore: fix wording
1 parent 1c8bfa9 commit 8531ff2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/billing/pricing-modal/pricing-card.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ export function PricingCard({
5353
<CardFooter>
5454
<Button {...rest}>
5555
{subscribedUnitAmount
56-
? unitAmount === subscribedUnitAmount
57-
? "Manage Current Plan"
58-
: "Change Plan"
56+
? unitAmount < subscribedUnitAmount
57+
? "Downgrade Plan"
58+
: unitAmount > subscribedUnitAmount
59+
? "Upgrade Plan"
60+
: "Manage Current Plan"
5961
: "Subscribe"}
6062
</Button>
6163
</CardFooter>

0 commit comments

Comments
 (0)