What do I do when the transaction is successful through useWriteContract? #3900
Answered
by
eliobricenov
0oooooooo0
asked this question in
Q&A
-
isSuccess can be found through useWaitForTransactionReceipt, but there seems to be no onSuccess option.
I made a hook like this, but is there a better way? |
Beta Was this translation helpful? Give feedback.
Answered by
eliobricenov
May 24, 2024
Replies: 2 comments 1 reply
-
I created it to pop up a modal when a transaction is successful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@0oooooooo0 hopefully this can help you #3778 (comment)! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
0oooooooo0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@0oooooooo0 hopefully this can help you #3778 (comment)!