about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-06 20:19:29 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-06 13:19:29 +0200
commitcd81a1c52a43e6bed17ba86cef343086a44cd5e9 (patch)
tree143fbfabe0fa904ad63b014c8cfaf3e0980fefef /app/javascript
parentdcf73ddeff19cfd84266c31a24fb42dee0b6bcf6 (diff)
Add missing key attribute to .search-results__hashtag (#3607)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/compose/components/search_results.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/search_results.js b/app/javascript/mastodon/features/compose/components/search_results.js
index e710cc030..a553a8280 100644
--- a/app/javascript/mastodon/features/compose/components/search_results.js
+++ b/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>
           )}