AntFleet

Disagreement · 09a05e58-anthropic-2

Error UI suppresses balances and shows hard-coded $0.00 USDC

solo Opus
repo 5149da9d·PR #1·reviewed 2 days ago

Opus finding

Error UI suppresses balances and shows hard-coded $0.00 USDC

mediumbughigh
  • desktop/renderer/src/components/wallet/WalletSidebarPanel.tsx:130-135
When `error` is set, the panel unconditionally renders a fake USDC row showing `$0.00` regardless of the actual cached balances in the store. This is misleading: a transient refresh failure (network blip) will replace whatever the user previously saw with a fabricated zero balance, which can cause users to believe they have no USDC. The error state should either show an explicit error indicator or keep the last known balances; presenting `$0.00` as if it were a real balance is a UX-level data-integrity issue.

Recommendation

Show an explicit error state (e.g. small alert icon + tooltip) and either retain prior balances or render a neutral placeholder rather than fabricating `$0.00`.

Other reviewer

The other reviewer flagged nothing in this file/line range.

Why this didn't post

This finding didn't meet AntFleet's unanimous agreement threshold. Both frontier models review every PR independently; only findings they both flag with the same severity and category are posted to the PR. This one fell through.

read the methodology →

From the same review

These findings passed the unanimous gate on the same PR review. The disagreement above was filtered out; the findings below were posted.