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),
|
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 = () => {
|
||||||
|
|
Loading…
Reference in New Issue