This commit is contained in:
Nikhil Nawgiri 2024-10-27 02:56:40 +02:00
parent cefd68af90
commit 96c5e43c6c
2 changed files with 4 additions and 4 deletions

View file

@ -14,12 +14,12 @@ function App() {
return (
<>
<h1>Wishlist</h1>
<Search
setSearchResults={setSearchResults}
searchString={searchString}
setSearchString={setSearchString}
/>
<h1>Wishlist</h1>
</>
)
}

View file

@ -46,12 +46,12 @@ const Search = ({ setSearchResults, setSearchString, searchString }: SearchProps
autoFocus
ref={inputRef}
/>
<button className="reset-search-term-button" onClick={resetSearchTerm}>
missing icon here
</button>
</div>
);
};
// <button className="reset-search-term-button" onClick={resetSearchTerm}>
// missing icon here
// </button>
// <CloseButtonIcon />
// ad loading spinner