Fix key warning in stories

nolan/hinaloe-test
Etienne Lemay 2017-09-29 19:52:40 -04:00
parent ac709e5cf3
commit d5a8c24a41
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ storiesOf('Headless Search', module)
.add('default', () => ( .add('default', () => (
<div> <div>
{emojiIndex.search(text('Search', 'christmas')).map((o) => { {emojiIndex.search(text('Search', 'christmas')).map((o) => {
return <span style={{ fontSize: '2em', marginLeft: '.2em' }}>{o.native}</span> return <span key={o.id} style={{ fontSize: '2em', marginLeft: '.2em' }}>{o.native}</span>
})} })}
</div> </div>
)); ));