From cd81a1c52a43e6bed17ba86cef343086a44cd5e9 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi <ykzts@desire.sh> Date: Tue, 6 Jun 2017 20:19:29 +0900 Subject: [PATCH] Add missing key attribute to .search-results__hashtag (#3607) --- .../mastodon/features/compose/components/search_results.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> )} -- GitLab