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(@nftx/react): improve error handling of useTransaction #25

Merged
merged 1 commit into from
May 16, 2024

Conversation

jackmellis
Copy link
Collaborator

there were a few instances where errors were not being properly handled including pre-flight errors not being propagated at all this commit cleans up the error handling as well as adding a global error handler it also includes a large refactor of the hook itself and for peace of mind I've written a suite of tests for the hook as well

there were a few instances where errors were not being properly handled
including pre-flight errors not being propagated at all
this commit cleans up the error handling as well as adding a global error handler
it also includes a large refactor of the hook itself
and for peace of mind I've written a suite of tests for the hook as well
@jackmellis jackmellis requested a review from 0xNumlock May 16, 2024 13:15
Copy link

@0xNumlock 0xNumlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ser, nice.

@jackmellis jackmellis merged commit 94d5e1c into main May 16, 2024
1 check passed
@jackmellis jackmellis deleted the fix/use-transaction-error-handling branch May 16, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants