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

local
Yamagishi Kazutoshi 7 years ago committed by Eugen Rochko
parent dcf73ddeff
commit cd81a1c52a
  1. 2
      app/javascript/mastodon/features/compose/components/search_results.js

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