chore: remove unnecessary brackets from examples (#552)

This commit is contained in:
Jon Kelley authored and GitHub committed 2022-09-13 14:57:23 -07:00
1 parent e4466fee0a
commit 41b450eedf
11 files changed
+44 -52

No files matched your search

-7
View File
@@ -38,12 +38,6 @@ const FIELDS: &[(&str, &str)] = &[
fn app(cx: Scope) -> Element {
cx.render(rsx! {
div { margin_left: "30px",
// radio group
div {
// handling inputs on divs will catch all input events below
// so the value of our input event will be either huey, dewey, louie, or true/false (because of the checkboxe)
@@ -127,7 +121,6 @@ fn app(cx: Scope) -> Element {
name: "{field}",
r#type: "{field}",
value: "{value}",
// checked: "false",
oninput: move |evt: FormEvent| {
println!("{:?}", evt);
},