Skip to content

Commit 4f7b648

Browse files
committed
format
1 parent f9af4be commit 4f7b648

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frameworks/keyed/dioxus/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ fn app() -> Element {
101101
div { class: "col-md-6",
102102
div { class: "row",
103103
ActionButton { name: "Create 1,000 rows", id: "run",
104-
onclick: move |_| labels_container.write().overwrite( 1_000),
104+
onclick: move |_| labels_container.write().overwrite(1_000),
105105
}
106106
ActionButton { name: "Create 10,000 rows", id: "runlots",
107-
onclick: move |_| labels_container.write().overwrite( 10_000),
107+
onclick: move |_| labels_container.write().overwrite(10_000),
108108
}
109109
ActionButton { name: "Append 1,000 rows", id: "add",
110-
onclick: move |_| labels_container.write().append( 1_000),
110+
onclick: move |_| labels_container.write().append(1_000),
111111
}
112112
ActionButton { name: "Update every 10th row", id: "update",
113113
onclick: move |_| {
@@ -118,7 +118,7 @@ fn app() -> Element {
118118
},
119119
}
120120
ActionButton { name: "Clear", id: "clear",
121-
onclick: move |_| labels_container.write().overwrite( 0),
121+
onclick: move |_| labels_container.write().overwrite(0),
122122
}
123123
ActionButton { name: "Swap rows", id: "swaprows",
124124
onclick: move |_| labels_container.write().swap(1, 998),

0 commit comments

Comments
 (0)