deVSner

Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider> 본문

Error collection/react (redux, saga) 에러

Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider>

RudeofSun 2020. 6. 12. 09:22

next, redux, react 조합으로 프론트를 개발하고 있는데

<Provider>는 필요가 없다.

 

_app.js에서

export default wrapper.withRedux(NodeBird);

로 바꿔주면 해결.