Skip to content

Commit

Permalink
Add collection search
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHillierDev committed Mar 9, 2024
1 parent bc30304 commit d50a1c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const App = () => {
});
if (searchQuery) {
result = result.filter((token: Token) =>
token.name.toLowerCase().includes(searchQuery.toLowerCase())
token.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
token.collection.toLowerCase().includes(searchQuery.toLowerCase())
);
}
return result;
Expand Down

0 comments on commit d50a1c7

Please sign in to comment.