Skip to content

Commit

Permalink
Fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Nov 9, 2020
1 parent d627db4 commit 0d34200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/emotion-element.js
Expand Up @@ -59,7 +59,7 @@ export const createEmotionProps = (type: React.ElementType, props: Object) => {
return newProps
}

let Emotion = withEmotionCache((props, cache, ref) => {
let Emotion = withEmotionCache<any, any>((props, cache, ref) => {
let cssProp = props.css

// so that using `css` from `emotion` and passing the result to the css prop works
Expand Down

0 comments on commit 0d34200

Please sign in to comment.