Skip to content

Commit

Permalink
fixed test case issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadFaraz-crypto committed May 1, 2024
1 parent 1c2d7e3 commit 2ac0130
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function fn() {
function fn() {
const value = ""
const Component = value ? "a" : "div";
return <a>Hello</a>;
return <div>Hello</div>;
}
`,
)
Expand All @@ -256,7 +256,7 @@ function fn() {
`
function fn() {
const Name = "div";
const attrs = { id: "x" };
const attrs = {id: "x"};
return <div {...attrs} />;
}
`,
Expand Down

0 comments on commit 2ac0130

Please sign in to comment.