Skip to content

Commit

Permalink
Corrigido a busca por nome
Browse files Browse the repository at this point in the history
  • Loading branch information
marciosamuel committed Aug 26, 2021
1 parent 5794425 commit 79a774b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Filters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export default function Filters(props) {
game.title.toLowerCase().includes(searchValue.toLowerCase())
);
handleChange(list);
} else {
handleChange(values);
}
handleChange(values);
}, [values, searchValue]);

useEffect(() => {
Expand Down

0 comments on commit 79a774b

Please sign in to comment.