js
js copied to clipboard
"Connect a wallet" first in ConnectEmbed
Is there a way to make the "Connect a wallet" button appear first in the ConnectEmbed
? If not can it be added as an option? I'd rather not re-write the entire modal just to swap the order.
@eth0izzle thank you for the feedback - we've considered this and will likely add it in the next few weeks, but curious how do you expect the UI to behave? list of wallets up top and a button below to switch to embedded wallet UI?
Also the code is open source, would love a contribution for this!
Just as simple as the below.
We regularly get users completey missing the "Connect a wallet option" as it sits below a traditonal account login + the large Continue CTA. Being "Web3 first" with the wallet list first would be a nice option. You might not even need to add a separate option and just honor the order of the supportedWallets
array, e.g.,
const isWeb3First = supportedWallets[supportedWallets.length - 1].id == EmbeddedWallet.id
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.