Skip to content

Commit

Permalink
chore: fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Oct 21, 2023
1 parent ea6e672 commit 23e5221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpiling/jsx_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl JsxString {
//
// Case: <div {...props} />
// Case: <div class="foo" {...{ class: "bar"}} />
// Case: <div {...{ class: "foo"} class="bar"}>foo</div>
// Case: <div {...{ class: "foo"}} class="bar"}>foo</div>
if contains_jsx_spread_attr(&el.opening) {
let expr = Expr::Call(self.serialize_jsx_to_call_expr(&el));
strings.push("".to_string());
Expand Down

0 comments on commit 23e5221

Please sign in to comment.