Open web-shoharab-pk opened 10 months ago
Any solution or workaround?
@fabio-carvalho88 @web-shoharab-pk @diegomura In my case i had used
const [instance, update] = usePDF({ document });
and i had to wrap the document
with redux provider to get it working.
could you please provide an example? @er-santosh
Describe the bug could not find react-redux context value; please ensure the component is wrapped in a
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):
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](https://github.com/diegomura/react-pdf/assets/76746357/fd02f835-2287-48b9-b8e8-271ca7e3a854)
Desktop (please complete the following information):