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

Fixed some composition issues with styles not containing a final semi #1732

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

Andarist
Copy link
Member

fixes #1730

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2020

🦋 Changeset is good to go

Latest commit: d16c2a6

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -264,7 +264,12 @@ function createStringFromObject(

if (Array.isArray(obj)) {
for (let i = 0; i < obj.length; i++) {
string += handleInterpolation(mergedProps, registered, obj[i], false)
string += `${handleInterpolation(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mitchellhamilton any ideas when this could break stuff? I cant find any, so I think this is safe to do, but would be great to give this a little bit more extra thought.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 22, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d16c2a6:

Sandbox Source
Emotion Configuration

@codecov
Copy link

codecov bot commented Jan 22, 2020

Codecov Report

Merging #1732 into next will not change coverage.
The diff coverage is 100%.

Impacted Files Coverage Δ
...ugin/src/utils/transform-expression-with-styles.js 95.83% <100%> (ø) ⬆️
packages/serialize/src/index.js 100% <100%> (ø) ⬆️

@Andarist
Copy link
Member Author

@mitchellhamilton would you be able to take a look at this?

Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't think of any issues with this and given all the tests are passing this LGTM

@Andarist Andarist force-pushed the fix/array-css-prop-no-final-semi branch from 739178a to d16c2a6 Compare February 29, 2020 11:34
@Andarist Andarist merged commit e3d7db8 into next Feb 29, 2020
@Andarist Andarist deleted the fix/array-css-prop-no-final-semi branch February 29, 2020 11:42
@github-actions github-actions bot mentioned this pull request Mar 2, 2020
@github-actions github-actions bot mentioned this pull request Nov 10, 2020
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.

2 participants