diff --git a/src/components/dashboards/BrandFilter.tsx b/src/components/dashboards/BrandFilter.tsx index 002348f..13006f5 100644 --- a/src/components/dashboards/BrandFilter.tsx +++ b/src/components/dashboards/BrandFilter.tsx @@ -1,22 +1,18 @@ "use client"; -import { cn } from "@/lib/utils"; import { useBrandFilter } from "@/src/hooks/useBrandFilter"; -import { Button } from "../ui/button"; -import { ChevronRight } from "lucide-react"; import { motion } from "framer-motion"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "../ui/select"; export function BrandFilter() { - const { - isLoading, - totalCount, - selectedBrand, - visibleBrands, - isExpanded, - validBrands, - setIsExpanded, - handleSelect, - } = useBrandFilter(); + const { isLoading, totalCount, selectedBrand, validBrands, handleSelect } = + useBrandFilter(); if (isLoading) { return ( @@ -31,72 +27,35 @@ export function BrandFilter() { initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.2, ease: "circOut" }} - className="flex items-center justify-center" > -
-