2019-07-08 22:54:58 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-02-25 18:43:56 +01:00
|
|
|
import { selectMutedChannels } from 'redux/selectors/blocked';
|
|
|
|
import { selectModerationBlockList, selectFetchingModerationBlockList } from 'redux/selectors/comments';
|
2019-07-08 22:54:58 +02:00
|
|
|
import ListBlocked from './view';
|
|
|
|
|
2021-02-25 18:43:56 +01:00
|
|
|
const select = (state) => ({
|
|
|
|
mutedUris: selectMutedChannels(state),
|
|
|
|
blockedUris: selectModerationBlockList(state),
|
|
|
|
fetchingModerationBlockList: selectFetchingModerationBlockList(state),
|
2019-07-08 22:54:58 +02:00
|
|
|
});
|
|
|
|
|
2021-02-25 18:43:56 +01:00
|
|
|
export default connect(select)(ListBlocked);
|