Object is not iterable, Symbol.iterator, issue trying to implement context api

前端 未结 0 966
误落风尘
误落风尘 2021-01-14 03:57

Having an issue with this line of code in our context Api, here is the line:

const [{ user }, dispatch] = useStateValue();

TypeError: Object

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