Skip to content

Commit

Permalink
[NO CHANGELOG] [Add Tokens Widget] Fix to use networkName instead of …
Browse files Browse the repository at this point in the history
…chainName (#2372)
  • Loading branch information
mimi-imtbl authored Nov 7, 2024
1 parent c79b34f commit b09cd73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SQUID_API_BASE_URL } from '../utils/config';

type SquidChain = {
chainId: string;
chainName: string;
networkName: string;
chainIconURI: string;
chainType: string;
nativeCurrency: SquidNativeCurrency;
Expand Down Expand Up @@ -35,7 +35,7 @@ export const fetchChains = async (): Promise<Chain[]> => {

return data.chains.map((chain: SquidChain) => ({
id: chain.chainId.toString(),
name: chain.chainName,
name: chain.networkName,
iconUrl: chain.chainIconURI,
type: chain.chainType,
nativeCurrency: {
Expand Down

0 comments on commit b09cd73

Please sign in to comment.