Skip to content

Commit

Permalink
Fix example code in iteration docs (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMNRG authored Dec 14, 2021
1 parent 6572ea5 commit e64f95b
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 @@ -16,7 +16,7 @@ view! {
ul {
Keyed(KeyedProps {
iterable: count.handle(),
view: |x| view! {
template: |x| view! {
li { (x) }
},
key: |x| *x,
Expand All @@ -37,7 +37,7 @@ view! {
ul {
Indexed(IndexedProps {
iterable: count.handle(),
view: |x| view! {
template: |x| view! {
li { (x) }
},
})
Expand Down

0 comments on commit e64f95b

Please sign in to comment.