Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*...*/
- import {getMostPopularVideos, getVideosByCategory} from '../../../store/reducers/videos';
- /* ... */
- function mapStateToProps(state) {
- return {
- videosByCategory: getVideosByCategory(state),
- mostPopularVideos: getMostPopularVideos(state),
- };
- }
- export default connect(mapStateToProps, null)(HomeContent);
Add Comment
Please, Sign In to add comment