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

fix: fix RSC error with createWithBsPrefix components #6672

Merged
merged 2 commits into from Aug 7, 2023

Conversation

kyletsang
Copy link
Member

Fixes this error mentioned in #6646

Error: Attempted to call the default export of createWithBsPrefix.js from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.

All components using createWithBsPrefix were cloned into their own files

@kyletsang kyletsang requested a review from jquense July 31, 2023 06:01
@kyletsang kyletsang merged commit 49b3270 into master Aug 7, 2023
11 of 13 checks passed
@kyletsang kyletsang deleted the split-bsprefix-components branch August 7, 2023 04:05
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

Successfully merging this pull request may close these issues.

None yet

1 participant