Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(billing): correct plan selection in subscription and onboarding flows

Steven Enamakele0e46476259f
diff --git a/app/src/components/settings/panels/billing/SubscriptionPlans.tsx b/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
index b44c911374..70c57b6e4a 100644
--- a/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
+++ b/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
@@ -212,7 +212,9 @@ const SubscriptionPlans = ({
</div>
{isCurrent ? (
- <Badge variant="primary">{t('settings.billing.subscription.currentPlan')}</Badge>
+ <Badge variant="primary">
+ {t('settings.billing.subscription.currentPlan')}
+ </Badge>
) : isUpgrade ? (
<Button
variant="primary"
diff --git a/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx b/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
index ed50124490..06746afafa 100644
--- a/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
+++ b/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
@@ -1,7 +1,7 @@
import { useState } from 'react';
-import { useT } from '../../../lib/i18n/I18nContext';
import { Badge, type BadgeVariant } from '../../../components/ui';
+import { useT } from '../../../lib/i18n/I18nContext';
import OnboardingNextButton from '../components/OnboardingNextButton';
import type { AiMode } from '../OnboardingContext';
@@ -38,10 +38,7 @@ const ACCENT_CLASSES: Record<Accent, { selected: string; dot: string; highlight:
},
};
-const ACCENT_BADGE_VARIANT: Record<Accent, BadgeVariant> = {
- sage: 'success',
- primary: 'primary',
-};
+const ACCENT_BADGE_VARIANT: Record<Accent, BadgeVariant> = { sage: 'success', primary: 'primary' };
const ChoiceCard = ({
selected,