diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-10-09 11:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 11:48:06 +0200 |
commit | 44486db912ac6064419680dbc3dcd3843a02a144 (patch) | |
tree | 6e14c1298ee1ecfb4ba962f5752bedf13efd4d17 /app/javascript/flavours/glitch/features/getting_started/containers | |
parent | 30f4268f325921c13f786e7f8d52d744ea542ef2 (diff) | |
parent | 7ba5905416ab9e62e429fdd21bc353aaeb312375 (diff) |
Merge pull request #1859 from ClearlyClaire/glitch-soc/features/trends-tab
Port “Explore” tab to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/getting_started/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/getting_started/containers/trends_container.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/getting_started/containers/trends_container.js b/app/javascript/flavours/glitch/features/getting_started/containers/trends_container.js index 68568d169..d88dbbaf4 100644 --- a/app/javascript/flavours/glitch/features/getting_started/containers/trends_container.js +++ b/app/javascript/flavours/glitch/features/getting_started/containers/trends_container.js @@ -1,13 +1,13 @@ import { connect } from 'react-redux'; -import { fetchTrends } from 'flavours/glitch/actions/trends'; +import { fetchTrendingHashtags } from 'flavours/glitch/actions/trends'; import Trends from '../components/trends'; const mapStateToProps = state => ({ - trends: state.getIn(['trends', 'items']), + trends: state.getIn(['trends', 'tags', 'items']), }); const mapDispatchToProps = dispatch => ({ - fetchTrends: () => dispatch(fetchTrends()), + fetchTrends: () => dispatch(fetchTrendingHashtags()), }); export default connect(mapStateToProps, mapDispatchToProps)(Trends); |