GPT-5 finding
Wallet config kept only in component state; store exposes config but is not updated
- desktop/renderer/src/stores/wallet-store.ts
- desktop/renderer/src/components/wallet/WalletView.tsx
The store defines config and setConfig, but WalletView maintains a separate local walletConfig, causing duplicate sources of truth. Other components relying on the store’s config will not see updates, increasing drift and maintenance risk.
Recommendation
Persist wallet config in the store via setConfig and read it from the store where needed. Avoid separate local state unless memoized view-only derivations are required.