ee9f63a161
bugfix wip flow fix cleaning clean
19 lines
756 B
JavaScript
19 lines
756 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
selectBuiltinCollections,
|
|
selectMyPublishedPlaylistCollections,
|
|
selectMyUnpublishedCollections, // should probably distinguish types
|
|
// selectSavedCollections,
|
|
} from 'redux/selectors/collections';
|
|
import { selectFetchingMyCollections } from 'redux/selectors/claims';
|
|
import CollectionsListMine from './view';
|
|
|
|
const select = (state) => ({
|
|
builtinCollections: selectBuiltinCollections(state),
|
|
publishedCollections: selectMyPublishedPlaylistCollections(state),
|
|
unpublishedCollections: selectMyUnpublishedCollections(state),
|
|
// savedCollections: selectSavedCollections(state),
|
|
fetchingCollections: selectFetchingMyCollections(state),
|
|
});
|
|
|
|
export default connect(select)(CollectionsListMine);
|