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;
true
},
onclick: move |_| {
let blah = 120;
true
},
onclick: move |_| {
let blah = 120;
true
},
onclick: move |_| {
let blah = 120;
true
},
div {
div { "hi" }
h2 { class: "asd" }

View file

@ -6,7 +6,7 @@ rsx! {
show_user_menu.set(!show_user_menu.get());
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 { "Settings" }
}