docs: remove duplicated code block in example of For (#2622)

This commit is contained in:
Thomas Versteeg 2024-06-13 02:11:57 +02:00 committed by GitHub
parent b22f3bb3bd
commit 32e6ac7bb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 12 deletions

View File

@ -34,18 +34,6 @@ use std::hash::Hash;
/// }
/// }
/// />
/// <For
/// // a function that returns the items we're iterating over; a signal is fine
/// each=move || counters.get()
/// // a unique key for each item
/// key=|counter| counter.id
/// // renders each item to a view
/// children=move |counter: Counter| {
/// view! {
/// <button>"Value: " {move || counter.count.get()}</button>
/// }
/// }
/// />
/// </div>
/// }
/// }