EventHeader: fix initReport() calls

This commit is contained in:
Alex Gleason 2022-12-06 12:21:25 -06:00
parent 2cedd69f1d
commit 2d9c73cf9e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 2 deletions

View File

@ -170,13 +170,13 @@ const EventHeader: React.FC<IEventHeader> = ({ status }) => {
secondary: intl.formatMessage(messages.blockAndReport), secondary: intl.formatMessage(messages.blockAndReport),
onSecondary: () => { onSecondary: () => {
dispatch(blockAccount(account.id)); dispatch(blockAccount(account.id));
dispatch(initReport(account, status)); dispatch(initReport(account, { status }));
}, },
})); }));
}; };
const handleReport = () => { const handleReport = () => {
dispatch(initReport(account, status)); dispatch(initReport(account, { status }));
}; };
const handleModerate = () => { const handleModerate = () => {