When I'm using the useMutation hook and getting an error on the response the onCompleted method gets triggered. Is that normal behavior?
const [createPerson] = useMutation(CreatePerson, {
onCompleted: () => {
console.log('even onError it`s executed')
}
})