21ba7840ca
* refactor collection thumbs * collection update handle channels * collection update handle channels more better * bugfix
19 lines
700 B
JavaScript
19 lines
700 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
selectBuiltinCollections,
|
|
selectMyPublishedPlaylistCollections,
|
|
selectMyUnpublishedCollections, // should probably distinguish types
|
|
// selectSavedCollections,
|
|
selectFetchingMyCollections,
|
|
} from 'lbry-redux';
|
|
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);
|