Why line of code isn't executed after awaiting server response

前端 未结 0 643
无人共我
无人共我 2021-02-06 03:14

In a react component I havel the following code:  

const handleButton = async () => {
 
  const resp = await updateProject(projectInfo);
  setIsProjectModalVis         


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