Add trends UI with admin and user settings (#11502)
This commit is contained in:
parent
82d2069c75
commit
9072fe5ab6
21 changed files with 189 additions and 13 deletions
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue