compare parsed expressions instead of strings
This commit is contained in:
1 parent
5b0a60c294
commit
07da854455
3 files changed
+10
-9
No files matched your search
@@ -20,7 +20,7 @@ fn app(cx: Scope) -> Element {
|
||||
|
||||
cx.render(rsx! {
|
||||
h1 {
|
||||
x: count,
|
||||
width: format!("{}px", count),
|
||||
"High-Five counter: {count}"
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user