EventHeader: fix initReport() calls

revert-fa4bd20d
Alex Gleason 2022-12-06 12:21:25 -06:00
rodzic 2cedd69f1d
commit 2d9c73cf9e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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 = () => {