2020-02-05 07:14:37 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-07-15 15:50:08 +02:00
|
|
|
import { selectBlockedChannels } from 'redux/selectors/blocked';
|
2020-02-05 07:14:37 +01:00
|
|
|
import { doChannelUnsubscribe } from 'redux/actions/subscriptions';
|
2020-06-29 20:26:08 +02:00
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
2020-02-05 07:14:37 +01:00
|
|
|
import AbandonedChannelPreview from './view';
|
|
|
|
|
2020-06-29 20:26:08 +02:00
|
|
|
const select = (state, props) => ({
|
|
|
|
blockedChannelUris: selectBlockedChannels(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select, {
|
|
|
|
doChannelUnsubscribe,
|
|
|
|
doOpenModal,
|
|
|
|
})(AbandonedChannelPreview);
|