fix duplicate listeners in the autoformat tests

This commit is contained in:
Evan Almloff committed 2024-01-11 16:22:28 -06:00
1 parent 9b5a797008
commit 4ef6f78657
2 files changed
+1 -13

No files matched your search

@@ -12,18 +12,6 @@ rsx! {
let blah = 120; let blah = 120;
true true
}, },
onclick: move |_| {
let blah = 120;
true
},
onclick: move |_| {
let blah = 120;
true
},
onclick: move |_| {
let blah = 120;
true
},
div { div {
div { "hi" } div { "hi" }
h2 { class: "asd" } h2 { class: "asd" }
+1 -1
View File
@@ -6,7 +6,7 @@ rsx! {
show_user_menu.set(!show_user_menu.get()); show_user_menu.set(!show_user_menu.get());
evt.cancel_bubble(); evt.cancel_bubble();
}, },
onclick: move |evt| show_user_menu.set(!show_user_menu.get()), onmousedown: move |evt| show_user_menu.set(!show_user_menu.get()),
span { class: "inline-block mr-4", icons::icon_14 {} } span { class: "inline-block mr-4", icons::icon_14 {} }
span { "Settings" } span { "Settings" }
} }