Fix warning about missing key prop

When rendering using a for loop each child whould have a key prop.
This commit is contained in:
Saúl Ibarra Corretgé 2017-02-22 12:08:12 +01:00
parent 73a0197eb2
commit 2f388dfb6a
1 changed files with 3 additions and 1 deletions

View File

@ -143,7 +143,9 @@ class WelcomePage extends AbstractWelcomePage {
*/ */
_renderFeature(index) { _renderFeature(index) {
return ( return (
<div className = 'feature_holder'> <div
className = 'feature_holder'
key = { index } >
<div <div
className = 'feature_icon' className = 'feature_icon'
data-i18n = { `welcomepage.feature${index}.title` } /> data-i18n = { `welcomepage.feature${index}.title` } />