diff --git a/apps/web/src/routes/dashboard/subscription/__tests__/plan-helper-trial.test.tsx b/apps/web/src/routes/dashboard/subscription/__tests__/plan-helper-trial.test.tsx index d0ffd31..b676d33 100644 --- a/apps/web/src/routes/dashboard/subscription/__tests__/plan-helper-trial.test.tsx +++ b/apps/web/src/routes/dashboard/subscription/__tests__/plan-helper-trial.test.tsx @@ -43,9 +43,7 @@ describe("TrialCtaCard value hook", () => { }); test("pending state disables the CTA and shows loading label", () => { - const { getByText, container } = render( - , - ); + const { getByText, container } = render(); expect(getByText("common.loading")).toBeTruthy(); expect(container.querySelector("button")?.hasAttribute("disabled")).toBe(true); }); diff --git a/apps/web/src/routes/dashboard/subscription/__tests__/value-reinforcement.test.tsx b/apps/web/src/routes/dashboard/subscription/__tests__/value-reinforcement.test.tsx index e1c7931..0a5bc44 100644 --- a/apps/web/src/routes/dashboard/subscription/__tests__/value-reinforcement.test.tsx +++ b/apps/web/src/routes/dashboard/subscription/__tests__/value-reinforcement.test.tsx @@ -23,11 +23,7 @@ vi.mock("@/lib/posthog", () => ({ setPeopleProperties: vi.fn(), })); -import { - BillingPeriodToggle, - PlanGrid, - plans, -} from "@/routes/dashboard/subscription/index"; +import { BillingPeriodToggle, PlanGrid, plans } from "@/routes/dashboard/subscription/index"; describe("per-day price anchor (PlanGrid)", () => { test("renders a per-day line on every plan card", () => { diff --git a/apps/web/src/routes/dashboard/subscription/index.tsx b/apps/web/src/routes/dashboard/subscription/index.tsx index 281f4d5..acaa4fa 100644 --- a/apps/web/src/routes/dashboard/subscription/index.tsx +++ b/apps/web/src/routes/dashboard/subscription/index.tsx @@ -1026,9 +1026,7 @@ export function BillingPeriodToggle({ ))} {period === "yearly" && ( -

- {t("subscription.yearlyFreeMonths")} -

+

{t("subscription.yearlyFreeMonths")}

)} ); @@ -1635,7 +1633,7 @@ export function TrialProgressBanner({ const pct = Math.round((elapsed / totalDays) * 100); return (