Add onSuccess/onError to useWaitForTransactionReceipt #4100
-
onSuccess/onError used to exist on the old useWaitForTransactionReceipt and have since been removed. Can you re-add them? |
Beta Was this translation helpful? Give feedback.
Answered by
tmm
Jun 29, 2024
Replies: 1 comment 1 reply
-
onSuccess/onError/onSettled won't be re-added. If you haven't already, you should read this blog post for more info on why there were removed https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose#react-query-v5 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ryanberckmans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onSuccess/onError/onSettled won't be re-added. If you haven't already, you should read this blog post for more info on why there were removed https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose#react-query-v5