GPT-5 finding
Store exposes config but WalletView keeps a separate local walletConfig, risking divergence
lowmaintainabilityhigh
- desktop/renderer/src/stores/wallet-store.ts:33-41
- desktop/renderer/src/stores/wallet-store.ts:55-60
- desktop/renderer/src/components/wallet/WalletView.tsx:132-146
The store defines config and setConfig, but WalletView maintains a parallel local state and never updates the store. Other components cannot consume wallet config from the central store, and changes could drift or require duplicate logic.
Recommendation
Use the store’s config state (setConfig on refresh) and read from useWalletStore in components. Remove the local walletConfig to keep a single source of truth.