Skip to content

fix: use chain.logo instead of getNetworkIconUrl in NetworkGrid#266

Merged
Zelig880 merged 1 commit intofeat/dev-3.0-no-landingfrom
fix/ccip-testnet-network-icons
Apr 22, 2026
Merged

fix: use chain.logo instead of getNetworkIconUrl in NetworkGrid#266
Zelig880 merged 1 commit intofeat/dev-3.0-no-landingfrom
fix/ccip-testnet-network-icons

Conversation

@markshenouda
Copy link
Copy Markdown
Member

Testnet chain display names (e.g. 'Ethereum Sepolia') were being normalized to CDN paths that don't exist (e.g. ethereum-sepolia.svg). Mainnet names (e.g. 'Ethereum') happened to match CDN filenames.

getAllNetworks already computes the correct logo via getChainIcon, so use chain.logo directly and remove the getNetworkIconUrl call.

Screenshot 2026-04-01 at 1 09 14 PM

Testnet chain display names (e.g. 'Ethereum Sepolia') were being
normalized to CDN paths that don't exist (e.g. ethereum-sepolia.svg).
Mainnet names (e.g. 'Ethereum') happened to match CDN filenames.

getAllNetworks already computes the correct logo via getChainIcon,
so use chain.logo directly and remove the getNetworkIconUrl call.
@markshenouda markshenouda self-assigned this Apr 1, 2026
@markshenouda markshenouda requested a review from Zelig880 April 16, 2026 12:19
@Zelig880 Zelig880 merged commit ecd58a4 into feat/dev-3.0-no-landing Apr 22, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants