useContext returns undefined nextjs

后端 未结 0 508
刺人心
刺人心 2020-12-17 01:58

I\'m using next.js and want to use useContext for global state. I\'m having trouble passing the value from provider to child element. The returned value of language, in head

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