Skip to content

Commit f49ff1f

Browse files
authored
Fix SWC unit test (vercel#29466)
1 parent a4dee7b commit f49ff1f

File tree

1 file changed

+1
-4
lines changed
  • packages/next/build/swc/tests/fixture/styled-jsx/tpl-placeholder-1

1 file changed

+1
-4
lines changed

packages/next/build/swc/tests/fixture/styled-jsx/tpl-placeholder-1/output.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default class {
99
]
1010
]
1111
])}>
12-
1312
<p className={_JSXStyle.dynamic([
1413
[
1514
"8b268cf2c0a3f89b",
@@ -18,11 +17,9 @@ export default class {
1817
]
1918
]
2019
])}>test</p>
21-
2220
<_JSXStyle id={"8b268cf2c0a3f89b"} dynamic={[
2321
inputSize ? "height: calc(2 * var(--a)) !important;" : ""
2422
]}>{`@media only screen {a.__jsx-style-dynamic-selector {${inputSize ? "height: calc(2 * var(--a)) !important;" : ""} }}`}</_JSXStyle>
25-
2623
</div>;
2724
}
28-
};
25+
}

0 commit comments

Comments
 (0)