aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/sync.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-06 09:20:19 -0700
committerAdam Soltys <[email protected]>2026-07-06 09:20:19 -0700
commit43c73ab0150d1959b3181be6f3737a67588f2b1e (patch)
tree45f3b4427fb57026f2fc256dfc52717fc4eba2a1 /src/features/sync.js
parentdd748ba8f4cb2d45389e9996eefb59a5a0b1b9c9 (diff)
downloadcoinosv3-43c73ab0150d1959b3181be6f3737a67588f2b1e.tar.gz
coinosv3-43c73ab0150d1959b3181be6f3737a67588f2b1e.zip
No ark jitter on refresh: render from persisted state before connect
The balance line and history-row icons read the LIVE ark manager, which is null until connectArk() finishes its async handshake — so on refresh the ark balance briefly vanished and ark rows flashed the Bitcoin icon before flipping to the ark mark. Read-only hooks (balance, decorateTxRow, historyEntries, detail views) now fall back to the persisted ark state from storage via arkStateNow(), so they paint correct on first render; the manager connecting later just keeps it fresh with identical data (no visible change). Verified: balance present and board row shows the ark icon from the first 50ms sample after reload. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/features/sync.js')
0 files changed, 0 insertions, 0 deletions