Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Sep 30, 2024
1 parent dbd030e commit 0a6fa70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpiling/jsx_precompile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ const a = _jsxTemplate($$_tpl_1, _jsxAttr("class", "foo"), _jsxAttr("className",

for (key, value) in values.into_iter() {
let input = format!("const a = <div {}=\"foo\" />", key);
let expected = vec![
let expected = [
"import { jsxTemplate as _jsxTemplate } from \"react/jsx-runtime\";",
"const $$_tpl_1 = [",
&format!(" '<div {}=\"foo\"></div>'", value),
Expand Down

0 comments on commit 0a6fa70

Please sign in to comment.