Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-02-23 21:44:09 +01:00
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) => {