remove key

This commit is contained in:
Evan Almloff committed 2022-05-27 11:16:34 -05:00
1 parent 6b03a60fee
commit f703347936
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -23,9 +23,11 @@ fn app(cx: Scope) -> Element {
width: format!("{}px", count),
background_color: "#999999",
onclick: move |_| {
count.modify(|count| *count + 1);
count.modify(|count| *count + 10);
},
"High-Five counter: {count}",
p{
"High-Five counter: {count}",
}
Comp{
color: "#083289"
}
+1 -1
View File
@@ -210,7 +210,7 @@ fn build_node<'a>(
listeners,
attributes.as_slice(),
children.as_slice(),
Some(format_args!("{}", key)),
None,
))
} else {
None