Skip to content

Commit

Permalink
docs: remove extra space (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawqup authored Sep 1, 2023
1 parent fee2fb9 commit 7c51815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leptos/src/for_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::hash::Hash;
///
/// #[component]
/// fn Counters() -> impl IntoView {
/// let (counters, set_counters) = create_signal::<Vec<Counter>>( vec![]);
/// let (counters, set_counters) = create_signal::<Vec<Counter>>(vec![]);
///
/// view! {
/// <div>
Expand All @@ -28,7 +28,7 @@ use std::hash::Hash;
/// // a unique key for each item
/// key=|counter| counter.id
/// // renders each item to a view
/// view=move | counter: Counter| {
/// view=move |counter: Counter| {
/// view! {
/// <button>"Value: " {move || counter.count.get()}</button>
/// }
Expand Down

0 comments on commit 7c51815

Please sign in to comment.