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

Avoid empty objects if generating component from snippet with no props #75

Open
eddiesholl opened this issue Oct 8, 2017 · 0 comments

Comments

@eddiesholl
Copy link
Owner

If you generate from a snippet that didnt include any props, then the generated code has some invalid syntax. It includes 2 empty object statements. These should simply be omitted if props are an empty list.

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