diff --git a/app/components/SimplifiedSearchBar.tsx b/app/components/SimplifiedSearchBar.tsx index f4c3b4e..bfd9888 100644 --- a/app/components/SimplifiedSearchBar.tsx +++ b/app/components/SimplifiedSearchBar.tsx @@ -9,6 +9,7 @@ import { } from "./ui/select"; import { SitesCombobox } from "./SitesCombobox"; import { FILTER_TIMES } from "@/utils"; +import { SiteList } from "@/types.js"; type Props = { value: string; @@ -17,6 +18,7 @@ type Props = { filters?: { sites: { value: string; label: string }[]; }; + sites: SiteList; }; const SimplifiedSearchBar = ({ @@ -24,6 +26,7 @@ const SimplifiedSearchBar = ({ placeholder, filters, className, + sites, }: Props) => { let navigate = useNavigate(); let location = useLocation(); @@ -69,7 +72,7 @@ const SimplifiedSearchBar = ({
{/* Dropdown component should be here */} - + {/* Dropdown component should be here */}