Cannot read property 'code' of undefined from promise, context api (react hook)

前端 未结 0 1414
深忆病人
深忆病人 2021-02-18 16:59

I am making my first hybrid web app using react hook. I am faced with a timing problem with promise and context api.

Here are the logic I am facing with.

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