- client: Fix delay of custom filter editor

This commit is contained in:
ArtemBaskal
2020-09-03 23:05:11 +03:00
parent 07db05dd80
commit 474306d465
2 changed files with 5 additions and 3 deletions

View File

@@ -59,7 +59,9 @@ const ClientCell = ({
'btn-outline-danger': !isFiltered,
});
const onClick = () => dispatch(toggleBlocking(buttonType, domain));
const onClick = async () => {
await dispatch(toggleBlocking(buttonType, domain));
};
return <button
type="button"