Trouble checking if props is undefined

后端 未结 0 1309
耶瑟儿~
耶瑟儿~ 2021-01-12 04:21

So I have a page in my project that has a get and then it passes the response to a const, as below.

const [reference, setReference] = useState([])   
 
useEff         


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