diff --git a/app/components/SearchBar.tsx b/app/components/SearchBar.tsx index bc2a715..10aa413 100644 --- a/app/components/SearchBar.tsx +++ b/app/components/SearchBar.tsx @@ -25,10 +25,11 @@ import { SelectValue, } from "./ui/select"; import { SitesCombobox } from "./SitesCombobox"; +import { SearchResult, SiteList } from "@/types.js"; type Props = {}; -const SearchBar = () => { +const SearchBar = ({ sites }: { sites: SiteList }) => { let navigate = useNavigate(); let { pathname } = useLocation(); let [searchParams] = useSearchParams(); @@ -149,7 +150,7 @@ const SearchBar = () => { ) : (
{/* Dropdown component should be here */} - + {/* Dropdown component should be here */}