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

Check the return type of JsxEngine before add the toString() function #214

Closed
oscarotero opened this issue Jul 12, 2022 · 0 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@oscarotero
Copy link
Member

In this line https://github.com/lumeland/lume/blob/master/plugins/jsx.ts#L46
It's possible that element is a string and throws the error Cannot create property 'toString' on string.

@oscarotero oscarotero added the bug Something isn't working label Jul 12, 2022
@oscarotero oscarotero added this to the 1.10.1 milestone Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant