Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jdlehman committed Oct 29, 2015
1 parent eb994d5 commit f63b9b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/animation/components/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default class Panel extends Component {
renderPanelItems() {
return this.props.items.map(function(item) {
return (
<div className="panel-item">{item.content}</div>
<div key={item.content} className="panel-item">{item.content}</div>
);
});
}
Expand Down
2 changes: 1 addition & 1 deletion examples/animation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<div id="root">
</div>
</body>
<script src="/dist/bundle.js"></script>
<script src="dist/bundle.js"></script>
</html>
2 changes: 1 addition & 1 deletion examples/basic/components/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default class Panel extends Component {
renderPanelItems() {
return this.props.items.map(function(item) {
return (
<div className="panel-item">{item.content}</div>
<div key={item.content} className="panel-item">{item.content}</div>
);
});
}
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<div id="root">
</div>
</body>
<script src="/dist/bundle.js"></script>
<script src="dist/bundle.js"></script>
</html>

0 comments on commit f63b9b8

Please sign in to comment.