Skip to content

Commit

Permalink
Fixed iteration.md (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
maccesch authored Feb 22, 2022
1 parent 9b7ea15 commit 499c9bb
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 499c9bb

Please sign in to comment.