2
0
Fork 0
mirror of https://github.com/DioxusLabs/dioxus synced 2025-02-18 14:48:26 +00:00

Fix key errors in autofmt crate

This commit is contained in:
Jonathan Kelley 2024-03-07 16:21:51 -08:00
parent 22e82fc140
commit 3e5edff724
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 2 additions and 2 deletions
packages/autofmt/tests/samples

View file

@ -1,6 +1,6 @@
rsx! {
div {
key: "ddd",
key: "{ddd}",
class: "asd",
class: "asd",
class: "asd",

View file

@ -6,7 +6,7 @@ rsx! {
div { "hello world!" }
// Compression with attributes
div { key: "a", class: "ban", style: "color: red" }
div { key: "{a}", class: "ban", style: "color: red" }
// Nested one level
div { div { "nested" } }