2019-07-08 16:54:58 -04:00
|
|
|
import { connect } from 'react-redux';
|
2021-03-03 13:50:16 -05:00
|
|
|
import { selectMutedChannels } from 'redux/selectors/blocked';
|
|
|
|
import { selectModerationBlockList, selectFetchingModerationBlockList } from 'redux/selectors/comments';
|
2019-07-08 16:54:58 -04:00
|
|
|
import ListBlocked from './view';
|
|
|
|
|
2021-03-03 13:50:16 -05:00
|
|
|
const select = (state) => ({
|
|
|
|
mutedUris: selectMutedChannels(state),
|
|
|
|
blockedUris: selectModerationBlockList(state),
|
|
|
|
fetchingModerationBlockList: selectFetchingModerationBlockList(state),
|
2019-07-08 16:54:58 -04:00
|
|
|
});
|
|
|
|
|
2021-03-03 13:50:16 -05:00
|
|
|
export default connect(select)(ListBlocked);
|