Skip to content

Commit

Permalink
feat: add prettyName to chain search keys
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Jan 13, 2024
1 parent 6a6b69c commit a2590bf
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 a2590bf

Please sign in to comment.