From 0d3420034561908776024b2e3a3bfc5907804350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Mon, 9 Nov 2020 10:36:57 +0100 Subject: [PATCH] Fix flow error --- packages/react/src/emotion-element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/emotion-element.js b/packages/react/src/emotion-element.js index f87619240..7ec842477 100644 --- a/packages/react/src/emotion-element.js +++ b/packages/react/src/emotion-element.js @@ -59,7 +59,7 @@ export const createEmotionProps = (type: React.ElementType, props: Object) => { return newProps } -let Emotion = withEmotionCache((props, cache, ref) => { +let Emotion = withEmotionCache((props, cache, ref) => { let cssProp = props.css // so that using `css` from `emotion` and passing the result to the css prop works