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

Semi Colon being deployed with content - React SDK #3358

Closed
jaydubb12 opened this issue Jun 25, 2024 · 3 comments
Closed

Semi Colon being deployed with content - React SDK #3358

jaydubb12 opened this issue Jun 25, 2024 · 3 comments

Comments

@jaydubb12
Copy link

Describe the bug
When utilizing the package @builder.io/sdk-react I am noting an unexpected semi-colon is being included in the content. The issue occurs regardless of whether I utilize a client side or server side call to retrieve the content

To Reproduce
Steps to reproduce the behavior:

  1. Clone Sample repo - https://github.com/jaydubb12/nextjs-14-with-builder
  2. Start app using yarn dev from the directory ./sample-app
  3. Load page `http://localhost:3000/form-page

Expected behavior
No unexpected / unauthored content would be loaded / displayed

Screenshots
Screenshot 2024-06-25 at 8 24 33 AM

Additional context
Enterprise builder Ticket created as well 11354

@jaydubb12
Copy link
Author

@omspacecode looping you in to this ticket as well. FYI, an enterprise ticket has been created for this as well - 11354

@jaydubb12
Copy link
Author

Closing issue. User Error. User was inadvertently appending semi colon after jsx declaration such as the example below and did NOT notice 🤦

<SomeComponent />;

@jaydubb12
Copy link
Author

Closing, nothing to fix

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