2021-03-15 15:32:51 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-03-24 01:49:29 +01:00
|
|
|
import { selectMyChannelClaims, selectFetchingMyChannels, selectPendingClaims } from 'lbry-redux';
|
2021-03-15 15:32:51 +01:00
|
|
|
import { selectActiveChannelClaim } from 'redux/selectors/app';
|
|
|
|
import LivestreamSetupPage from './view';
|
|
|
|
|
|
|
|
const select = (state) => ({
|
|
|
|
channels: selectMyChannelClaims(state),
|
|
|
|
fetchingChannels: selectFetchingMyChannels(state),
|
|
|
|
activeChannelClaim: selectActiveChannelClaim(state),
|
2021-03-24 01:49:29 +01:00
|
|
|
pendingClaims: selectPendingClaims(state),
|
2021-03-15 15:32:51 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(LivestreamSetupPage);
|