zeekayandHanzo Dev 1ddc0df258 fix(web): dashboard quick-actions use SPA soft-nav so the session survives
The wallet keeps `isUnlocked` + the plaintext mnemonic in memory ONLY (never
persisted — see the auth store's partialize), so ANY full-document reload wipes
the session and bounces the user back to onboarding. On mobile this made the
wallet unusable: every full-reload dashboard action effectively logged you out.

- Portfolio dashboard: render the Send / Cross-Chain / Earn / Manage Keys
  quick-action cards as react-router <Link> (client-side soft-nav) instead of
  full-reload <a href>. A tap pushState-navigates and the in-memory unlock +
  mnemonic survive.
- Audit for other session-dropping full-reload links: Callback's "Back to
  wallet" recovery link was a raw <a href="/"> — converted to <Link to="/">.

Verified at 390x844 (iPhone-class): the 4 cards render with no horizontal
overflow (documentElement.scrollWidth == 390); tapping Send soft-navigates to
/send with NO document reload (a page sentinel + the zustand auth store both
survive, isUnlocked stays true); a full-reload navigation (the prior behavior)
wipes the in-memory session — confirming the fix.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-07-18 10:43:17 -07:00
S
Description
Open Source Lux DeFi Wallet.
187 MiB
Languages
TypeScript 88%
Swift 4.2%
Kotlin 4.1%
JavaScript 1.2%
Go 0.8%
Other 1.6%