Browse Source

Update addons-animation.md (#3151)

Fix key value in code snippet.
main
Mustafa Mansour 4 years ago
committed by GitHub
parent
commit
8a914c9367
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/addons-animation.md

2
content/docs/addons-animation.md

@ -50,7 +50,7 @@ class TodoList extends React.Component {
render() {
const items = this.state.items.map((item, i) => (
<div key={item} onClick={() => this.handleRemove(i)}>
<div key={i} onClick={() => this.handleRemove(i)}>
{item}
</div>
));

Loading…
Cancel
Save