Topic: Error: Invalid hook call
surya@learningturf.com
pro asked 2 months ago
Expected behavior
Calander Should Render
Actual behavior Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
Resources (screenshots, code snippets etc.) package.json
Resolved
- User: Pro
- Premium support: No
- Technology: React
- MDB Version: 5.0.1
- Device: Laptop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 2 months ago
Do you have a problem with calendar plugin or component in pro version?
surya@learningturf.com pro commented 2 months ago
The issue is with he calendar plugin
surya@learningturf.com pro commented 2 months ago
This issue has been resolved by running npm dedupe command