Skip to content

Commit

Permalink
Merge pull request #9 from raine/next-gen
Browse files Browse the repository at this point in the history
introduction: Remove id string argument from mapElems example
  • Loading branch information
polytypic authored Aug 21, 2018
2 parents 3cd125e + 6bcec0b commit f93e083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion introduction-to-calmm.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ Using it we can rewrite the `ListOfNames` component:
```jsx
const ListOfNames = ({names}) => (
<ul>
{U.mapElems('id', (name, i) => <li key={i}>{name}</li>, names)}
{U.mapElems((name, i) => <li key={i}>{name}</li>, names)}
</ul>
)
```
Expand Down

0 comments on commit f93e083

Please # to comment.