commercelayer/commercelayer-react-components

Add `use client` to each component

acasazza opened this issue · 0 comments

Is your feature request related to a problem? Please describe

It is related to the new version of Next JS that uses RSC as default. This dispatches an error.

Describe the solution you'd like

Add the use client string to the components

Describe alternatives you've considered

No response

Are you able to assist to bring the feature to reality?

yes, I can

Additional context

https://nextjs.org/docs/getting-started/react-essentials#server-components