Explorar o código

Update hooks.md

YuKun Liu %!s(int64=3) %!d(string=hai) anos
pai
achega
485f6f69f0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      docs/guide/src/interactivity/hooks.md

+ 0 - 1
docs/guide/src/interactivity/hooks.md

@@ -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| {