This commit is contained in:
mgabdev
2020-04-11 18:29:19 -04:00
parent 7249143d9f
commit 595208780e
160 changed files with 1678 additions and 2103 deletions

View File

@@ -10,15 +10,13 @@ const messages = defineMessages({
title: { id: 'trends.title', defaultMessage: 'Trending right now' },
})
const mapStateToProps = state => ({
const mapStateToProps = (state) => ({
gabtrends: state.getIn(['gab_trends', 'items']),
})
const mapDispatchToProps = dispatch => {
return {
onFetchGabTrends: () => dispatch(fetchGabTrends()),
}
}
const mapDispatchToProps = (dispatch) => ({
onFetchGabTrends: () => dispatch(fetchGabTrends()),
})
export default
@connect(mapStateToProps, mapDispatchToProps)