Skip to content

Commit

Permalink
fix: normalize chain names from registry [FRE-518]
Browse files Browse the repository at this point in the history
Signed-off-by: Griko Nibras <griko@nibras.co>
  • Loading branch information
grikomsn committed Jan 12, 2024
1 parent d80e8bc commit 6a6b69c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function useChains<T = Chain[]>(args: UseChainsQueryArgs<T> = {}) {
.map((chain): Chain => {
return {
...chain,
chainName: chainIdToName[chain.chainID],
prettyName: chainIdToPrettyName[chain.chainID] || chain.chainName,
registryChainName: chainIdToName[chain.chainID],
};
Expand Down

0 comments on commit 6a6b69c

Please sign in to comment.