mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
adding required key to child elements
This commit is contained in:
parent
07523973cb
commit
d88e9abcea
@ -8,7 +8,7 @@ var StrategyList = React.createClass({
|
||||
|
||||
render: function() {
|
||||
var strategyNodes = this.props.strategies.map(function(strategy) {
|
||||
return <Strategy strategy={strategy} />;
|
||||
return <Strategy strategy={strategy} key={strategy.name} />;
|
||||
});
|
||||
return (
|
||||
<div>{strategyNodes}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user