From 69c59353ed411c8a6701c836f2b2d78b42081e01 Mon Sep 17 00:00:00 2001 From: Jonas Daniels Date: Fri, 25 Apr 2025 10:43:33 +0200 Subject: [PATCH] Update plan tier hierarchy for sponsorship policies --- .../components/settings/Account/Billing/planToTierRecord.ts | 4 ++-- .../components/smart-wallets/SponsorshipPolicies/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/src/components/settings/Account/Billing/planToTierRecord.ts b/apps/dashboard/src/components/settings/Account/Billing/planToTierRecord.ts index 15b412c96fb..f23edf14885 100644 --- a/apps/dashboard/src/components/settings/Account/Billing/planToTierRecord.ts +++ b/apps/dashboard/src/components/settings/Account/Billing/planToTierRecord.ts @@ -3,8 +3,8 @@ import type { Team } from "@/api/team"; // Note: Growth legacy is considered higher tier in this hierarchy export const planToTierRecordForGating: Record = { free: 0, - starter_legacy: 1, - starter: 2, + starter: 1, + starter_legacy: 2, growth: 3, accelerate: 4, growth_legacy: 5, diff --git a/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx b/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx index 2f528bdb01a..04942e6c23e 100644 --- a/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx +++ b/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx @@ -572,7 +572,7 @@ export function AccountAbstractionSettingsPage(