fix(ui): move buttonVariants to its own file (lint clean) #16

Merged
ayoub merged 1 commit from fix/button-variants-lint into dev 2026-06-11 16:31:58 +00:00

1 commit

Author SHA1 Message Date
AyoubBenziza
8891599fa5 fix(ui): move buttonVariants to its own file (lint clean)
The react-refresh rule flagged button.tsx for exporting a non-component
(buttonVariants) alongside the Button component. Moved the cva to
button-variants.ts (imported by button.tsx); button.tsx now exports only the
component. `bun run lint` is green across all workspaces.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 18:30:30 +02:00