fix duplicate listeners in the autoformat tests

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

View file

@ -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" }

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" }
} }