Skip to content

Commit

Permalink
Merge pull request #23 from kesne/jgens/keys-fix
Browse files Browse the repository at this point in the history
Fixing issue with unkeyed react elements
  • Loading branch information
arunoda authored Jun 28, 2016
2 parents b55e2c6 + b81b58a commit 23d4974
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 23d4974

Please sign in to comment.