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:
parent
22e82fc140
commit
3e5edff724
2 changed files with 2 additions and 2 deletions
packages/autofmt/tests/samples
|
@ -1,6 +1,6 @@
|
|||
rsx! {
|
||||
div {
|
||||
key: "ddd",
|
||||
key: "{ddd}",
|
||||
class: "asd",
|
||||
class: "asd",
|
||||
class: "asd",
|
||||
|
|
|
@ -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" } }
|
||||
|
|
Loading…
Add table
Reference in a new issue