Skip to content
Discussion options

You must be logged in to vote

Do you have a codesandbox? I’m pretty sure that works.

When the mutation errors out due to incorrect credentials, the onError property of the mutation gets set to true. But the error property is undefined.

not sure what you mean. onError is a callback function like onSuccess 🤔

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aswinmohanme
Comment options

@TkDodo
Comment options

Answer selected by aswinmohanme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants