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
@@ -9,7 +9,7 @@ import { Download, Loader2 } from "lucide-react";
interface PDFDownloadButtonProps {
invoiceId: string;
variant?: "default" | "outline" | "ghost" | "icon";
variant?: "default" | "outline" | "ghost" | "icon" | "secondary";
className?: string;
}
@@ -9,7 +9,6 @@ import {
DropdownMenuTrigger,
} from "~/components/ui/dropdown-menu";
import { Button } from "~/components/ui/button";
import { cn } from "~/lib/utils";
export function ThemeSelector() {
const { theme, setTheme } = useTheme();