1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Correct when setApprovalForAll message is shown (#15863)

This commit is contained in:
Dan J Miller 2022-09-16 18:11:31 -02:30 committed by GitHub
parent 6e13524bcd
commit 789c06a5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,7 +308,7 @@ export default class ConfirmPageContainer extends Component {
<ErrorMessage errorKey={errorKey} />
</div>
)}
{isSetApproveForAll && !setApproveForAllArg && (
{isSetApproveForAll && setApproveForAllArg && (
<Dialog type="error" className="confirm-page-container__dialog">
{/*
TODO: https://github.com/MetaMask/metamask-extension/issues/15745