diff --git a/src/components/MobileNav.tsx b/src/components/MobileNav.tsx index 23cce6062..5eefb1940 100644 --- a/src/components/MobileNav.tsx +++ b/src/components/MobileNav.tsx @@ -46,8 +46,6 @@ export function MobileNav({ activeTab, onTabChange, onOpenAgent }: MobileNavProp icon would otherwise render visibly thinner than its siblings. */} - {/* `font-medium` was a typo Tailwind emitted nothing for; the agent - label added below would otherwise render at a different weight. */} {tab.label} {isActive &&
} diff --git a/tests/unit/font-mediumr-typo.test.ts b/tests/unit/font-mediumr-typo.test.ts index 6db47604c..f57cb7a70 100644 --- a/tests/unit/font-mediumr-typo.test.ts +++ b/tests/unit/font-mediumr-typo.test.ts @@ -11,9 +11,8 @@ import { join } from "node:path"; * * This test is the failure that was missing: it reads every `.tsx` under `src/` * and fails naming each file and line that carries the token, so the typo cannot - * come back. It scans class attributes and comments alike — the issue counts a - * comment-only occurrence (`MobileNav.tsx`) as a use, since a comment referencing - * the typo stops explaining anything once no use is left. + * come back. It scans comments too: a comment that names the typo explains + * nothing once no use is left. */ const ROOT = join(import.meta.dir, "..", "..");