-
Notifications
You must be signed in to change notification settings - Fork 193
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
prompt for wallet connection in TransactionButton
#1216
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
TransactionButton
TransactionButton
TransactionButton
TransactionButton
const handleSubmit = useCallback(() => { | ||
const handleSubmit = useCallback(async () => { | ||
if (!address) { | ||
await connectAsync({ connector: connectors[0] }); |
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.
Let's avoid create a branch of developer experience by adding a new way to solve the same problem we did with #1173 .
We want to make sure both experience re-use Wallet logic, and do not create internal branch on how the same problem can be solved.
What changed? Why?
Transaction
if missingaddress
Notes to reviewers
How has it been tested?