]> cat aescling's git repositories - mastodon.git/commitdiff
Add missing key attribute to .search-results__hashtag (#3607)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Tue, 6 Jun 2017 11:19:29 +0000 (20:19 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 6 Jun 2017 11:19:29 +0000 (13:19 +0200)
app/javascript/mastodon/features/compose/components/search_results.js

index e710cc03093ef0e2568b8e01a337b7c7f401f32a..a553a8280de675e4fa70520a2845e039149a75fa 100644 (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>
           )}