chore: Delete submit button search-products
This commit is contained in:
@@ -47,15 +47,14 @@ const Catalog = () => {
|
||||
return (
|
||||
<div className={styles.layout}>
|
||||
<section className={styles.catalog}>
|
||||
<form onSubmit={e => e.preventDefault()}>
|
||||
<form>
|
||||
<input
|
||||
type="text"
|
||||
value={filterText}
|
||||
placeholder="Buscar"
|
||||
onChange={
|
||||
(event) => setFilterText(event.target.value)}
|
||||
id="filter-products"/>
|
||||
<button type="submit">Buscar</button>
|
||||
id="searchbox"/>
|
||||
</form>
|
||||
<ProductCards products={filteredProducts} addProductLine={addProductLine}/>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user