Closed Suero152 closed 2 years ago
Not a great answer, but you could downgrade away from hooks to
npm install react-burger-menu@^2.9.2 --save
It works, though it's not sustainable. Only way I could get it to work with next.js
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component.
Complete error
Code: