Add trends UI with admin and user settings (#11502)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2019-08-06 17:57:52 +02:00
1 parent 82d2069c75
commit 9072fe5ab6
21 files changed
+189 -13

No files matched your search

@@ -0,0 +1,13 @@
import { connect } from 'react-redux';
import { fetchTrends } from '../../../actions/trends';
import Trends from '../components/trends';
const mapStateToProps = state => ({
trends: state.getIn(['trends', 'items']),
});
const mapDispatchToProps = dispatch => ({
fetchTrends: () => dispatch(fetchTrends()),
});
export default connect(mapStateToProps, mapDispatchToProps)(Trends);