Skip to content

Commit

Permalink
Fixed iteration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maccesch authored Feb 21, 2022
1 parent 9b7ea15 commit 9513767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/next/basics/iteration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let count = ctx.create_signal(vec![1, 2]);
view! {
ul {
Keyed {
iterable: count.handle(),
iterable: count,
view: |ctx, x| view! { ctx,
li { (x) }
},
Expand All @@ -34,7 +34,7 @@ let count = ctx.create_signal(vec![1, 2]);
view! {
ul {
Indexed {
iterable: count.handle(),
iterable: count,
view: |ctx, x| view! { ctx,
li { (x) }
},
Expand Down

0 comments on commit 9513767

Please sign in to comment.