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

Next JS Compatiable #18

Open
lperezdude opened this issue Jul 5, 2021 · 0 comments
Open

Next JS Compatiable #18

lperezdude opened this issue Jul 5, 2021 · 0 comments

Comments

@lperezdude
Copy link

Great Package, I'm trying to use it in a NextJS app, attempting to do a local menu i get a window undefined issue.
Could you add proper checks for window and navigation before trying to access them?
Thank you for creating this package.

Server Error

ReferenceError: window is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
/node_modules/react-context-menu-wrapper/lib/util.js (17:33)

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

1 participant