diff --git a/src/components/FilterListInput.tsx b/src/components/FilterListInput.tsx index ca24b62..6ebe5ef 100644 --- a/src/components/FilterListInput.tsx +++ b/src/components/FilterListInput.tsx @@ -1,4 +1,4 @@ -import { ChangeEvent } from "react"; +import { ChangeEvent, FormEvent } from "react"; interface FilterListProps { searchTerm: string; @@ -13,8 +13,12 @@ export function FilterListInput({ setSearchTerm(e.target.value); }; + const handleSubmit = (e: FormEvent) => { + e.preventDefault(); + }; + return ( -
+