Having an issue with this line of code in our context Api, here is the line:
const [{ user }, dispatch] = useStateValue();
TypeError: Object