fix formatted strings in components
This commit is contained in:
1 parent
407a82588a
commit
90d0164b9e
8 files changed
+41
-59
No files matched your search
+1
-4
@@ -22,10 +22,7 @@ fn app() -> Element {
|
||||
render! {
|
||||
div {
|
||||
h1 { "Current count: {count}" }
|
||||
button {
|
||||
onclick: move |_| count.set(0),
|
||||
"Reset the count"
|
||||
}
|
||||
button { onclick: move |_| count.set(0), "Reset the count" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user