react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

React-Redux Provider issue

Open web-shoharab-pk opened this issue 2 years ago • 0 comments

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):

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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 image

Desktop (please complete the following information):

  • OS: [e.g. MacOS, Windows]
  • Browser [e.g. chrome, safari]
  • React-pdf version [e.g. v1.1.0]

web-shoharab-pk avatar Oct 28 '23 07:10 web-shoharab-pk