From: Eugen Rochko Date: Thu, 31 May 2018 14:46:02 +0000 (+0200) Subject: Make the refresh trends button refresh trends (#7685) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=0ce5339a7b5286162a95eadfa34d37d041bd102f;p=mastodon.git Make the refresh trends button refresh trends (#7685) --- diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index c45765ec4..f0a383449 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -82,6 +82,10 @@ export default class GettingStarted extends ImmutablePureComponent { setTimeout(() => this.props.fetchTrends(), 5000); } + handleRefreshTrends = () => { + this.props.fetchTrends(); + } + render () { const { intl, myAccount, multiColumn, unreadFollowRequests, trends } = this.props; @@ -138,7 +142,7 @@ export default class GettingStarted extends ImmutablePureComponent {
- +