Browse Source

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

master
Yamagishi Kazutoshi 7 years ago
committed by Eugen Rochko
parent
commit
cd81a1c52a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/compose/components/search_results.js

+ 1
- 1
app/javascript/mastodon/features/compose/components/search_results.js View File

@ -41,7 +41,7 @@ class SearchResults extends ImmutablePureComponent {
hashtags = ( hashtags = (
<div className='search-results__section'> <div className='search-results__section'>
{results.get('hashtags').map(hashtag => {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} #{hashtag}
</Link> </Link>
)} )}

Loading…
Cancel
Save