fix(accounts): render official chain icon in account list rows#12344
Conversation
The Accounts list rendered an empty Circle with only a colored border for every chain, even though `Asset.networkIcon` is already populated for most chains and the existing `ChainIcon` component already handles the fee-asset/network-icon fallback. Swap the Circle for ChainIcon so users see the actual chain logos (Arbitrum, Base, Abstract, Optimism, etc.) on every row. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (9)
📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughChainRow header icon now renders ChangesChain Icon Rendering
Asset images & state migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
The Accounts screen rendered a bare colored
Chakra <Circle>with only a border for every chain row, even thoughAsset.networkIconis already populated for most chains and the existingChainIconcomponent (insrc/components/ChainMenu.tsx) already handles the fee-asset fallback. Swap theCircleforChainIconso users see real chain logos in the Accounts list.One-line code change. No new dependencies. No asset-data updates needed.
Issue (if applicable)
closes #12343
Risk
Very low — purely visual change, isolated to one component on the Accounts screen. No transaction code, no state-management code, no new assets, no new dependencies. The replacement component (
ChainIcon) is already used elsewhere in the app (ChainMenu,MobileWebSelect,LimitOrderCard,Modals/Receive/SupportedNetworks).None.
Testing
Engineering
pnpm install && pnpm devnetworkIcon(e.g. Ethereum, BNB Smart Chain, Aptos, Bitcoin), verify the fee-asset icon renders — which is the canonical chain logo for those L1sOperations
Non-technical QA can compare to the screenshots below.
Screenshots
Before (empty colored rings):

After (real chain logos: Abstract, Arbitrum One, Avalanche C-Chain, BNB Smart Chain, BOB, Base, Berachain, Bitcoin…):

Same fresh "Test wallet", same viewport, only the one-line code change differs.
Summary by CodeRabbit
Style
Bug Fixes
Chores