Skip to content

Commit

Permalink
Fixing issue with unkeyed react elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Gensler committed Jun 28, 2016
1 parent b55e2c6 commit b81b58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Props.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class Props extends React.Component {
const items = [];
names.slice(0, 3).forEach(name => {
items.push(
<span style={propStyle}>
<span key={name} style={propStyle}>
<span style={propNameStyle}>{name}</span>
=
<span style={propValueStyle}><PropVal val={props[name]} /></span>
Expand Down

0 comments on commit b81b58a

Please sign in to comment.