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

Getting this error "SyntaxError: Named export 'useClickAway' not found" in nextjs when using storefront ui #3112

Open
1 task done
arimtiaz opened this issue Apr 21, 2024 · 0 comments

Comments

@arimtiaz
Copy link

What is your question / Please describe your issue

I installed storefront ui and i am getting this error whenever i use any storefrontui block

SyntaxError: Named export 'useClickAway' not found. The requested module 'react-use' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:

What package and version of StorefrontUI are you using?

latest one

What framework does your application use?

Nextjs

Code of Conduct

  • I agree to follow this project's Code of Conduct
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