Skip to content

Commit

Permalink
Add missing /* #__PURE__ */ annotation to creation of EmotionCssPropI…
Browse files Browse the repository at this point in the history
…nternal (#1537)

* Add missing /* #__PURE__ */ annotation to creation of EmotionCssPropInternal

* Update changes.md
  • Loading branch information
Andarist authored and emmatown committed Oct 5, 2019
1 parent 15002ea commit 7855db4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changeset/slow-apricots-hunt/changes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "releases": [{ "name": "@emotion/core", "type": "patch" }], "dependents": [] }
1 change: 1 addition & 0 deletions .changeset/slow-apricots-hunt/changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing `/* #__PURE__ */` annotation to creation of EmotionCssPropInternal
2 changes: 1 addition & 1 deletion packages/core/src/jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ let render = (cache, props, theme: null | Object, ref) => {
return ele
}

let Emotion = withEmotionCache((props, cache, ref) => {
let Emotion = /* #__PURE__ */ withEmotionCache((props, cache, ref) => {
// use Context.read for the theme when it's stable
if (typeof props.css === 'function') {
return (
Expand Down

0 comments on commit 7855db4

Please sign in to comment.