useEffect to get firebase data not working

前端 未结 0 1879
盖世英雄少女心
盖世英雄少女心 2020-12-04 02:25

Ok so i use the useEffect to get firebase firestore data. This is my hook code:

 const [campaign, setCampaigns] = useState([])
useEffect(() => {
    var do         


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