Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wallet): Export WalletModal to allow custom opening #2057

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RezaRahemtola
Copy link

What changed? Why?

Added an export of the WalletModal component to allow opening it from custom connect buttons instead of the generic UI.
Spotted during ETH Denver, it was useful for our case as we have multiple login providers, including OnchainKit, and don't want to use the big "Connect" button, but instead our own button that will open the modal.

Using the wagmi connector directly wasn't possible as it only exposes Coinbase Wallet, not the Metamask / Phantom options also provided in this modal

Notes to reviewers

/

How has it been tested?

Straightforward change that shouldn't require testing, but we tested and integrated in our project

Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 9:50pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 9:50pm

Copy link

vercel bot commented Feb 28, 2025

@RezaRahemtola is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants