diff --git a/src/components/Search/Search.jsx b/src/components/Search/Search.jsx index 44bb25b0..cbbdbae5 100644 --- a/src/components/Search/Search.jsx +++ b/src/components/Search/Search.jsx @@ -10,6 +10,7 @@ function Search({ onSearch }) { const handleInputChange = (event) => { setSearchValue(event.target.value); + onSearch(event.target.value); }; const handleSearch = () => { @@ -34,21 +35,21 @@ function Search({ onSearch }) { }, []); return ( -