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

[bug]: Returning empty paragraph is not working for React Native #43

Open
georgest opened this issue Jul 23, 2024 · 0 comments
Open

[bug]: Returning empty paragraph is not working for React Native #43

georgest opened this issue Jul 23, 2024 · 0 comments
Labels
issue: bug Issue reporting a bug

Comments

@georgest
Copy link

What version of @strapi/blocks-react-renderer are you using?

Npm Version: 10.2.4
Node version: 18.19.1
React version: 18.2.0
React Native version: 0.71.8
blocks-react-renderer: 1.0.1

What's Wrong?

A React Native error occurs when an

Screenshot 2024-07-23 at 16 20 09 empty line is returned.

This is because it is returned a <br /> element in the code.

To Reproduce

Expected Behaviour

To be returned the custom component if there is any.

@georgest georgest added the issue: bug Issue reporting a bug label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug
Projects
None yet
Development

No branches or pull requests

1 participant