Add loading indicator for trending tags (#7693)

This commit is contained in:
Yamagishi Kazutoshi
2018-06-01 21:22:42 +09:00
committed by Eugen Rochko
parent bfa12239e8
commit 69b45350fe
6 changed files with 104 additions and 41 deletions

View File

@ -4,7 +4,7 @@ import { fetchTrends } from '../../../actions/trends';
const mapStateToProps = state => ({
results: state.getIn(['search', 'results']),
trends: state.get('trends'),
trends: state.getIn(['trends', 'items']),
});
const mapDispatchToProps = dispatch => ({