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

+1 -1
View File
@@ -12,7 +12,7 @@ fn app(cx: Scope) -> Element {
button {
onclick: move |_| disabled.set(!disabled),
"click to "
[if disabled == true {"enable"} else {"disable"}]
if disabled == true { "enable" } else { "disable" }
" the lower button"
}