Why is my react-query mutation always “successful”?

前端 未结 0 918
长情又很酷
长情又很酷 2020-12-30 03:17

I\'m trying to make a react-query mutation (using axios).

I set it up like this.

const mutation = useMutation(
    () => {
      axios.post("ht         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题