cfd67b1c8d
## Ticket 223 Add ability for delegated moderators to delete comments ## Changes - Refactored doCommentAbandon's signature so we don't end up converting between "uri" and "Claim" several times and needing to lookup redux when the client can already provide us the exact values that we need. - Pass the new moderator fields to the API. - Remove the need to call 'makeSelectChannelPermUrlForClaimUri' since it's a simple field query when we already have the claim.
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import ModalRemoveComment from './view';
|
|
import { doCommentAbandon } from 'redux/actions/comments';
|
|
|
|
const perform = {
|
|
doHideModal,
|
|
doCommentAbandon,
|
|
};
|
|
|
|
export default connect(null, perform)(ModalRemoveComment);
|