-
Notifications
You must be signed in to change notification settings - Fork 190
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
Chore: Wallet Refactor #1732
base: main
Are you sure you want to change the base?
Chore: Wallet Refactor #1732
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<WalletBasic> | ||
<ConnectWallet /> | ||
<WalletDropdown /> | ||
</WalletBasic> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
won't wallet island and and current share the connect wallet components? would't the only change be <WalletDropdown/>
vs. <WalletIsland/>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's correct. The reason for this change is that WalletBasic is opinionated about children, destructuring and reorganizing them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to use a single top level node and then look for WalletDropdown or WalletIsland to determine which? If a user added WalletIsland and WalletDropdown child components we could just log an error and choose the first one to display.
9b240e7
to
93df3be
Compare
1d28f36
to
d3ea6ce
Compare
What changed? Why?
Notes to reviewers
How has it been tested?
locally, vitest