Add UI for revoking quote posts (#35689)

This commit is contained in:
Claire authored and GitHub committed 2025-08-06 11:52:56 +00:00
1 parent c8f263c419
commit 55a98580aa
10 files changed
+131 -9

No files matched your search

@@ -111,6 +111,10 @@ const mapDispatchToProps = (dispatch, { contextType }) => ({
}
},
onRevokeQuote (status) {
dispatch(openModal({ modalType: 'CONFIRM_REVOKE_QUOTE', modalProps: { statusId: status.get('id'), quotedStatusId: status.getIn(['quote', 'quoted_status']) }}));
},
onEdit (status) {
dispatch((_, getState) => {
let state = getState();