fetching with axios is not chaning the state in react

后端 未结 0 382
遇见更好的自我
遇见更好的自我 2021-01-06 08:05

im trying to set the result from my own api to the state, when i console.log(profileData) i get the responsenull but when i console.log(res.data.data) is giving me image wit

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