EventHeader: fix initReport() calls
This commit is contained in:
parent
2cedd69f1d
commit
2d9c73cf9e
|
@ -170,13 +170,13 @@ const EventHeader: React.FC<IEventHeader> = ({ status }) => {
|
|||
secondary: intl.formatMessage(messages.blockAndReport),
|
||||
onSecondary: () => {
|
||||
dispatch(blockAccount(account.id));
|
||||
dispatch(initReport(account, status));
|
||||
dispatch(initReport(account, { status }));
|
||||
},
|
||||
}));
|
||||
};
|
||||
|
||||
const handleReport = () => {
|
||||
dispatch(initReport(account, status));
|
||||
dispatch(initReport(account, { status }));
|
||||
};
|
||||
|
||||
const handleModerate = () => {
|
||||
|
|
Loading…
Reference in New Issue