Commit b6e211c
committed
fix: use chain.logo instead of getNetworkIconUrl in NetworkGrid
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.1 parent 90d0a85 commit b6e211c
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
0 commit comments