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: prevent undefined values of overwriting existing styles #1394

Closed
wants to merge 1 commit into from
Closed

fix: prevent undefined values of overwriting existing styles #1394

wants to merge 1 commit into from

Conversation

alexandernanberg
Copy link

I have this issue with styled-components that if you have a variant that sets certain style attrs, but then also allow to overwrite a specific attr (e.g. color) then the style from the variant gets overwritten by undefined. I think the test I added explains it pretty well.

There was a bunch of prettier updates that I can revert if you'd like

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