lbry-desktop/ui/page/creatorDashboard/index.js

13 lines
470 B
JavaScript
Raw Normal View History

2020-03-18 18:11:37 +01:00
import { connect } from 'react-redux';
import { selectHasChannels, selectFetchingMyChannels } from 'redux/selectors/claims';
import { selectActiveChannelClaim } from 'redux/selectors/app';
2020-03-18 22:14:11 +01:00
import CreatorDashboardPage from './view';
2020-03-18 18:11:37 +01:00
const select = (state) => ({
hasChannels: selectHasChannels(state),
2020-03-18 18:11:37 +01:00
fetchingChannels: selectFetchingMyChannels(state),
activeChannelClaim: selectActiveChannelClaim(state),
2020-03-18 18:11:37 +01:00
});
export default connect(select)(CreatorDashboardPage);