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

Fix infinite rerender on network change while active signature request (#20473)

This commit is contained in:
OGPoyraz 2023-08-17 09:36:30 +02:00 committed by GitHub
parent 3aa5b7d362
commit 6b72316eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1498,6 +1498,7 @@ export default class MetamaskController extends EventEmitter {
this.encryptionPublicKeyController.clearUnapproved();
this.decryptMessageController.clearUnapproved();
this.signatureController.clearUnapproved();
this.approvalController.clear();
},
);