Fix reporting from profile (#17632)

* Fix reporting from profile

* Clean up dead code
This commit is contained in:
Claire
2022-02-23 21:37:02 +01:00
committed by GitHub
parent a9a43de6d1
commit b7cf11d5a9
3 changed files with 1 additions and 67 deletions

View File

@@ -8,7 +8,7 @@ export const REPORT_SUBMIT_FAIL = 'REPORT_SUBMIT_FAIL';
export const initReport = (account, status) => dispatch =>
dispatch(openModal('REPORT', {
accountId: account.get('id'),
statusId: status.get('id'),
statusId: status?.get('id'),
}));
export const submitReport = (params, onSuccess, onFail) => (dispatch, getState) => {