diff --git a/crates/swc_ecma_codegen/tests/fixture/next-36251/output.tsx b/crates/swc_ecma_codegen/tests/fixture/next-36251/output.tsx
index f4d2caa7570d..f741b7c2b216 100644
--- a/crates/swc_ecma_codegen/tests/fixture/next-36251/output.tsx
+++ b/crates/swc_ecma_codegen/tests/fixture/next-36251/output.tsx
@@ -4,8 +4,6 @@ type ü = {
};
export const SomeComponent = ({ name, value }: ü)=>{
return (
-
{name} {value}
-
);
};
diff --git a/crates/swc_ecma_parser/src/lexer/jsx.rs b/crates/swc_ecma_parser/src/lexer/jsx.rs
index 3d3e5473c12d..5a35ff9f0344 100644
--- a/crates/swc_ecma_parser/src/lexer/jsx.rs
+++ b/crates/swc_ecma_parser/src/lexer/jsx.rs
@@ -7,8 +7,9 @@ impl<'a> Lexer<'a> {
pub(super) fn read_jsx_token(&mut self) -> LexResult