diff --git a/scripts/benchmarks/src/implementations/emotion-css-prop/Box.js b/scripts/benchmarks/src/implementations/emotion-css-prop/Box.js index d783064782..7bdf103e39 100644 --- a/scripts/benchmarks/src/implementations/emotion-css-prop/Box.js +++ b/scripts/benchmarks/src/implementations/emotion-css-prop/Box.js @@ -1,6 +1,6 @@ -import React from 'react' +/** @jsx jsx */ import { viewStyle } from './View' -import { css } from '@emotion/react' +import { css, jsx } from '@emotion/react' const Box = ({ color, diff --git a/scripts/benchmarks/src/implementations/emotion-css-prop/Dot.js b/scripts/benchmarks/src/implementations/emotion-css-prop/Dot.js index 910b3f5cd9..e525cd1699 100644 --- a/scripts/benchmarks/src/implementations/emotion-css-prop/Dot.js +++ b/scripts/benchmarks/src/implementations/emotion-css-prop/Dot.js @@ -1,5 +1,5 @@ -import React from 'react' -import { css } from '@emotion/react' +/** @jsx jsx */ +import { css, jsx } from '@emotion/react' const Dot = ({ size, x, y, children, color }) => (