From 399a5643721990fdd645f407145c88b526cb4aac Mon Sep 17 00:00:00 2001 From: Nicholas Narsing Date: Sun, 15 Dec 2024 12:43:38 -0800 Subject: [PATCH] Revert unrelated changes to benchmark scripts --- .../benchmarks/src/implementations/emotion-css-prop/Box.js | 4 ++-- .../benchmarks/src/implementations/emotion-css-prop/Dot.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }) => (