0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) => {