mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
typo in code example (#1093)
First time looking at marko, but I think that `users` should be `user`
This commit is contained in:
parent
492361c73d
commit
ffb5a0b51b
@ -381,7 +381,7 @@ The `key` attribute can be used to pair HTML elements or UI components that are
|
|||||||
|
|
||||||
```marko
|
```marko
|
||||||
<ul>
|
<ul>
|
||||||
<for(users in input.users)>
|
<for(user in input.users)>
|
||||||
<li key=user.id>${user.name}</li>
|
<li key=user.id>${user.name}</li>
|
||||||
</for>
|
</for>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user