Skip to content

Commit d340a9a

Browse files
authored
remove pro 25 (#1660)
1 parent 2437960 commit d340a9a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pcweb/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102

103103
# Pricing
104104
PRO_TIERS_TABLE = {
105-
"Pro 25": {"price": 25, "credits": 500},
106105
"Pro 50": {"price": 50, "credits": 1000},
107106
"Pro 100": {"price": 100, "credits": 2000},
108107
"Pro 250": {"price": 250, "credits": 5000},

pcweb/pages/pricing/plan_cards.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class SelectedTier(TypedDict):
2424

2525

2626
class ProTierState(rx.State):
27-
credits: rx.Field[int] = rx.field(default=PRO_TIERS_TABLE["Pro 25"]["credits"])
27+
credits: rx.Field[int] = rx.field(default=PRO_TIERS_TABLE["Pro 50"]["credits"])
2828

2929
@rx.event
3030
def redirect_to_billing(self, yearly: bool = False):
@@ -42,7 +42,7 @@ def selected_tier(self) -> SelectedTier:
4242
for tier_name, tier_data in PRO_TIERS_TABLE.items():
4343
if tier_data["credits"] == self.credits:
4444
return SelectedTier(tier=tier_name, price=tier_data["price"])
45-
return SelectedTier(tier="Pro 25", price=PRO_TIERS_TABLE["Pro 25"]["price"])
45+
return SelectedTier(tier="Pro 50", price=PRO_TIERS_TABLE["Pro 50"]["price"])
4646

4747

4848
class Feature(NamedTuple):

0 commit comments

Comments
 (0)