2020-03-18 18:11:37 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-11-08 07:27:14 +01:00
|
|
|
import { selectHasChannels, selectFetchingMyChannels } from 'redux/selectors/claims';
|
2021-02-09 17:05:56 +01:00
|
|
|
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
|
|
|
|
2021-10-17 10:36:14 +02:00
|
|
|
const select = (state) => ({
|
2021-11-08 07:27:14 +01:00
|
|
|
hasChannels: selectHasChannels(state),
|
2020-03-18 18:11:37 +01:00
|
|
|
fetchingChannels: selectFetchingMyChannels(state),
|
2021-02-09 17:05:56 +01:00
|
|
|
activeChannelClaim: selectActiveChannelClaim(state),
|
2020-03-18 18:11:37 +01:00
|
|
|
});
|
|
|
|
|
2022-05-04 14:34:31 +02:00
|
|
|
export default connect(select)(CreatorDashboardPage);
|