fix: put unsuspend button up to spec

This commit is contained in:
Sérgio Salgado 2021-07-06 22:03:11 +01:00 committed by Josh Harvey
parent 442336e306
commit a64cc8bdb0

View file

@ -176,10 +176,8 @@ const CustomerProfile = memo(() => {
{suspended && ( {suspended && (
<ActionButton <ActionButton
color="primary" color="primary"
Icon={suspended ? AuthorizeIcon : BlockIcon} Icon={AuthorizeIcon}
InverseIcon={ InverseIcon={AuthorizeReversedIcon}
suspended ? AuthorizeReversedIcon : BlockReversedIcon
}
onClick={() => onClick={() =>
updateCustomer({ updateCustomer({
suspendedUntil: null suspendedUntil: null