mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Adjust 'Confirm' button color on setApprovalForAll revocations (#17506)
This commit is contained in:
parent
6e7f5c3e21
commit
5e863a297f
@ -277,7 +277,11 @@ const ConfirmPageContainer = (props) => {
|
||||
: onSubmit
|
||||
}
|
||||
submitText={t('confirm')}
|
||||
submitButtonType={isSetApproveForAll ? 'danger-primary' : 'primary'}
|
||||
submitButtonType={
|
||||
isSetApproveForAll && isApprovalOrRejection
|
||||
? 'danger-primary'
|
||||
: 'primary'
|
||||
}
|
||||
disabled={disabled}
|
||||
>
|
||||
{unapprovedTxCount > 1 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user