Browse Source

set max trends number to 5

pull/4/head
欧醚 5 years ago
parent
commit
5eb86661ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/getting_started/components/trends.js

+ 1
- 1
app/javascript/mastodon/features/getting_started/components/trends.js View File

@ -38,7 +38,7 @@ export default class Trends extends ImmutablePureComponent {
<div className='getting-started__trends'>
<h4><FormattedMessage id='trends.trending_now' defaultMessage='Trending now' /></h4>
{trends.take(3).map(hashtag => <Hashtag key={hashtag.get('name')} hashtag={hashtag} />)}
{trends.take(5).map(hashtag => <Hashtag key={hashtag.get('name')} hashtag={hashtag} />)}
</div>
);
}

Loading…
Cancel
Save