Add missing key attribute to .search-results__hashtag (#3607)

This commit is contained in:
Yamagishi Kazutoshi 2017-06-06 20:19:29 +09:00 committed by Eugen Rochko
parent dcf73ddeff
commit cd81a1c52a

View file

@ -41,7 +41,7 @@ class SearchResults extends ImmutablePureComponent {
hashtags = (
<div className='search-results__section'>
{results.get('hashtags').map(hashtag =>
<Link className='search-results__hashtag' to={`/timelines/tag/${hashtag}`}>
<Link key={hashtag} className='search-results__hashtag' to={`/timelines/tag/${hashtag}`}>
#{hashtag}
</Link>
)}