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

Follow up fixes #283

Merged
merged 2 commits into from
Feb 25, 2023
Merged

Follow up fixes #283

merged 2 commits into from
Feb 25, 2023

Conversation

JoviDeCroock
Copy link
Member

Follow up to #278 @andrewiggins thank you for the feedback

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2023

🦋 Changeset detected

Latest commit: dfac25a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-render-to-string Patch

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

src/util.js Outdated
@@ -66,14 +66,15 @@ export function styleObjToCss(s) {
(JS_TO_CSS[prop] = prop.replace(CSS_REGEX, '-$1').toLowerCase());

let suffix = ';';
if (SUFFIX_CACHE[name]) {
let isNumber = typeof val === 'number';
if (isNumber && SUFFIX_CACHE[name]) {
suffix = 'px';
Copy link
Member

Choose a reason for hiding this comment

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

One more semicolon here, I think :)

@JoviDeCroock JoviDeCroock merged commit 3defa9d into master Feb 25, 2023
@JoviDeCroock JoviDeCroock deleted the late-fixes branch February 25, 2023 08:45
@github-actions github-actions bot mentioned this pull request Feb 25, 2023
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

2 participants