From 485f6f69f0bd23e866105295c6dde5f40985b5bb Mon Sep 17 00:00:00 2001 From: YuKun Liu Date: Sun, 6 Mar 2022 15:05:21 +0800 Subject: [PATCH] Update hooks.md --- docs/guide/src/interactivity/hooks.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/guide/src/interactivity/hooks.md b/docs/guide/src/interactivity/hooks.md index a84a0b129..4f298a143 100644 --- a/docs/guide/src/interactivity/hooks.md +++ b/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| {