fix: hide couldnt load balances msg when balances are loading#6779
fix: hide couldnt load balances msg when balances are loading#6779alfetopito merged 6 commits intorelease/2026-01-07from
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughAdds a balances-loading flag to trade form validation: exposes Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
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 |
elena-zh
left a comment
There was a problem hiding this comment.
Hey @kernelwhisperer , thank you!
However, I still can see this message ('could not load balances') when I connect to a wallet (to Safe with WC, or to MM).

To reproduce:
- open the PR preview link
- connect to Safe wallet using WC
Then, sometimes. when I switch between networks using network selector (connected to MM), I can see 'fetching balances' message flashing on a quote load, but then I get 'could not load balances' error again.
See the video: the issue happened when I switched to Base: https://www.loom.com/share/e896d51a2d314e0aaba185ada0ebb465
98f40f0 to
397c499
Compare
elena-zh
left a comment
There was a problem hiding this comment.
Works fine now, thank you!
|
@alfetopito @limitofzero Not sure if you guys want to review the 3 commits since your approval |
Summary
Fixes #4127
The issue was that the form validation was not taking into account the
isBalancesLoadingstate.To Test
As per the issue:
Connect to a wallet (using WC or open the app inside Safe --> most likely you will immediately reproduce the issue)
AR: each time when app is loading after changing a network/connection, 'Couldn't load balances' message appears and is displayed up to 20 seconds
Summary by CodeRabbit
New Features
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.