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

pull/3312/merge
Yamagishi Kazutoshi 8 years ago committed by Eugen Rochko
parent dcf73ddeff
commit cd81a1c52a

@ -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>
)}

Loading…
Cancel
Save