Files
eranos/src
mkfain 6e3bc2d3d1 Seed campaign wallet picker to Agora wallet on first render
The Create Campaign page initialised `walletSource` to `'custom'` and
relied on a post-mount effect to flip it to `'mine'` once
`hdWalletAvailable` became true. With Radix Select's controlled value
that left users staring at the "Choose a wallet" placeholder on the
initial paint and forced them to open the dropdown to see that their
Agora wallet was even an option.

Seed both `walletSource` and `mineAccept` lazily from the
synchronously-available HD-wallet availability so the trigger already
reads as the user's Agora wallet on first render. The existing
availability-change effects still cover the (rare) case where the hook
resolves a tick later or where the wallet disappears mid-session.
2026-05-26 22:16:15 -05:00
..
2026-04-30 13:19:22 +07:00
2026-05-25 20:25:11 -05:00
2026-05-24 19:00:10 -05:00