Skip to content

Commit

Permalink
feat: add prettyName to chain search keys (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Griko Nibras authored Jan 13, 2024
2 parents 6a6b69c + a2590bf commit 6814955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChainSelect/ChainSelectContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function ChainSelectContent({ chains, onChange, onClose }: Props) {
const filteredChains = useMemo(() => {
if (!searchValue) return chains;
return matchSorter(chains, searchValue, {
keys: ["chainID", "chainName"],
keys: ["chainID", "chainName", "prettyName"],
});
}, [chains, searchValue]);

Expand Down

0 comments on commit 6814955

Please sign in to comment.