Skip to content

Commit

Permalink
Merge pull request #5 from marciosamuel/develop
Browse files Browse the repository at this point in the history
Corrigido a busca por nome
  • Loading branch information
marciosamuel authored Aug 26, 2021
2 parents 5a34e10 + 79a774b commit 3e22b6d
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

1 comment on commit 3e22b6d

@vercel
Copy link

@vercel vercel bot commented on 3e22b6d Aug 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.