chore: remove unnecessary brackets from examples (#552)
This commit is contained in:
1 parent
e4466fee0a
commit
41b450eedf
11 files changed
+44
-52
No files matched your search
@@ -84,9 +84,7 @@ fn app(cx: Scope) -> Element {
|
||||
button {
|
||||
class: "inline-flex items-center text-white bg-blue-500 border-0 py-1 px-3 hover:bg-green-700 rounded",
|
||||
onmousedown: |evt| evt.cancel_bubble(),
|
||||
onclick: move |_| {
|
||||
window.set_title("Dioxus Application");
|
||||
},
|
||||
onclick: move |_| window.set_title("Dioxus Application"),
|
||||
"Change Title"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user