Guest User

Untitled

a guest
Dec 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. /*...*/
  2. import {getMostPopularVideos, getVideosByCategory} from '../../../store/reducers/videos';
  3.  
  4. /* ... */
  5.  
  6. function mapStateToProps(state) {
  7. return {
  8. videosByCategory: getVideosByCategory(state),
  9. mostPopularVideos: getMostPopularVideos(state),
  10. };
  11. }
  12. export default connect(mapStateToProps, null)(HomeContent);
Add Comment
Please, Sign In to add comment