mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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