react-pdf
react-pdf copied to clipboard
React-Redux Provider issue
Describe the bug could not find react-redux context value; please ensure the component is wrapped in a <Provider> I called useSelector hook inside of my pdf component and my pdf component use inside my root file. my root file wrapped by redux provider but I face the issue. How can I solve it? Please help me, Thanks
To Reproduce Steps to reproduce the behavior including code snippet (if applies):
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
You can make use of react-pdf REPL to share the snippet
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
- OS: [e.g. MacOS, Windows]
- Browser [e.g. chrome, safari]
- React-pdf version [e.g. v1.1.0]