Skip to content

fix(card-deposit): render WalletTokenButton inline inside amount input - #1968

Merged
MusabShakeel576 merged 2 commits into
qafrom
claude/deposit-card-all-chains-earUz
Apr 20, 2026
Merged

fix(card-deposit): render WalletTokenButton inline inside amount input#1968
MusabShakeel576 merged 2 commits into
qafrom
claude/deposit-card-all-chains-earUz

Conversation

@MusabShakeel576

Copy link
Copy Markdown
Contributor

No description provided.

claude added 2 commits April 20, 2026 14:03
Drop the separate "Token" row and surface the wallet token selector in
the same flex-row as the amount input, matching the savings deposit
modal layout.

AmountInput now accepts an optional rightSlot prop; CardDepositInternalForm
passes WalletTokenButton as the slot when the WALLET source is active on
production, replacing the static USDC/USDC.e image + label.

https://claude.ai/code/session_01TDpHy9uTrVX3PTRp9xS9S5
… WALLET source

- CardDepositTokenSelector was calling useDepositStore.setModal (the savings
  modal store) when a token was selected, which routed the user to the
  savings-flow's Add Funds screen instead of the card deposit internal form.
  Switch to useCardDepositStore.setModal so the card modal transitions back
  to OPEN_INTERNAL_FORM, and set CardDepositSource.WALLET on select so the
  form re-mounts on the Wallet option.
- CardDepositModalProvider's back button from the token selector also now
  explicitly sets source=WALLET before navigating back, so the internal
  form's defaultValues.from reads WALLET (not the BORROW default).

https://claude.ai/code/session_01TDpHy9uTrVX3PTRp9xS9S5
@vercel

vercel Bot commented Apr 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored Apr 20, 2026 2:12pm
solid-app-staging Ignored Ignored Apr 20, 2026 2:12pm

Request Review

@MusabShakeel576
MusabShakeel576 merged commit d6b5d83 into qa Apr 20, 2026
4 of 5 checks passed
@MusabShakeel576
MusabShakeel576 deleted the claude/deposit-card-all-chains-earUz branch April 20, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants