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

feat: add resetOnComplete prop to Transaction #1419

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

abcrane123
Copy link
Contributor

What changed? Why?

  • add prop that enables resetting of state after txn completion

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Oct 15, 2024

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 Oct 21, 2024 5:04pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 5:04pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 5:04pm

@alessey
Copy link
Contributor

alessey commented Oct 17, 2024

is the use case here that a user passes in calls or contracts then submits them, and wants to pass in more calls/contracts to the same button? should it just reset state when calls/contracts changes?

@cpcramer
Copy link
Contributor

Can you add a changeset

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.

4 participants