Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with Povider from react-redux #26

Open
olive007 opened this issue Dec 2, 2019 · 1 comment
Open

Conflict with Povider from react-redux #26

olive007 opened this issue Dec 2, 2019 · 1 comment

Comments

@olive007
Copy link

olive007 commented Dec 2, 2019

Hello once I installed react-awesome-popover with npm i -D react-awesome-popover. My application create a error. The error disappeared when I changed <Provider/> from "react-redux" to a simple <div/>. Once I uninstall the package my app rework perfectly.

  • react": "^16.11.0"
  • react-dom": "^16.11.0"
  • react-redux": "^7.1.3"
  • redux": "^4.0.4"
  • ...

The error was: Invalid hook call. Hooks can only be called inside of the body of a function component.

@vaheqelyan
Copy link
Owner

I'll try to see what's wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants