18 lines
608 B
JavaScript
18 lines
608 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import {
|
||
|
selectBuiltinCollections,
|
||
|
selectMyPublishedPlaylistCollections,
|
||
|
selectMyUnpublishedCollections, // should probably distinguish types
|
||
|
// selectSavedCollections,
|
||
|
} from 'lbry-redux';
|
||
|
import CollectionsListMine from './view';
|
||
|
|
||
|
const select = (state) => ({
|
||
|
builtinCollections: selectBuiltinCollections(state),
|
||
|
publishedPlaylists: selectMyPublishedPlaylistCollections(state),
|
||
|
unpublishedCollections: selectMyUnpublishedCollections(state),
|
||
|
// savedCollections: selectSavedCollections(state),
|
||
|
});
|
||
|
|
||
|
export default connect(select)(CollectionsListMine);
|