Clean up unused imports and refactor type definitions

- Remove unused `cn` import from theme-selector - Remove unused `Slot`
import from badge - Remove unused `X` icon import from switch - Replace
empty interface extends with type alias in input - Replace empty
interface extends with type alias in textarea - Add "secondary" variant
to button type props - Replace "brand" variant with "default" in
client-list and invoice cards
This commit is contained in:
2025-11-25 02:01:16 -05:00
parent 75ce36cf9c
commit 35ca35c28a
9 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -102,7 +102,7 @@ export function ClientList() {
</CardHeader>
<CardContent className="text-center">
<Link href="/dashboard/clients/new">
<Button variant="brand" className="h-12 w-full">
<Button variant="default" className="h-12 w-full">
<Plus className="mr-2 h-4 w-4" />
Add Your First Client
</Button>
@@ -131,7 +131,7 @@ export function ClientList() {
</div>
</div>
<Link href="/dashboard/clients/new">
<Button variant="brand" className="h-12 w-full sm:w-auto">
<Button variant="default" className="h-12 w-full sm:w-auto">
<Plus className="mr-2 h-4 w-4" />
Add Client
</Button>