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

can't resolve prop-types next js #61

Open
asfand687 opened this issue Dec 3, 2021 · 1 comment
Open

can't resolve prop-types next js #61

asfand687 opened this issue Dec 3, 2021 · 1 comment

Comments

@asfand687
Copy link

I have used the component in my react app and it works flawlessly, but now I am implementing this in next js and it is giving an error that says can't resolve prop-types and is unable to compile.

@hwajj
Copy link

hwajj commented Jul 27, 2023

Adding use client worked for me. Try using 'use-client' at the top.

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