logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: cd81a1c52a43e6bed17ba86cef343086a44cd5e9
parent: dcf73ddeff19cfd84266c31a24fb42dee0b6bcf6
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date:   Tue,  6 Jun 2017 20:19:29 +0900

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


Diffstat:

Mapp/javascript/mastodon/features/compose/components/search_results.js2+-
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 @@ -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> )}