mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fix duplicate listeners in the autoformat tests
This commit is contained in:
parent
9b5a797008
commit
4ef6f78657
2 changed files with 1 additions and 13 deletions
|
@ -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" }
|
||||||
|
|
|
@ -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" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue