Merge pull request #293 from mrxiaozhuox/patch-2

Fixed Document
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2022-03-06 20:37:35 -05:00
commit f5608b17b8
1 file changed
-1
-1
View File
@@ -139,7 +139,6 @@ fn Child(cx: Scope, name: String) -> Element {
}
// ✅ Or, use a hashmap with use_ref
```rust
let ages = use_ref(&cx, || HashMap::new());
names.iter().map(|name| {