mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
V10.9.0: Disconnect all accounts flow (#13309)
This commit is contained in:
parent
0d2bc56e5e
commit
644e08eaea
@ -53,7 +53,7 @@ const mapDispatchToProps = (dispatch) => {
|
||||
dispatch(removePermittedAccount(subjectKey, address));
|
||||
},
|
||||
disconnectAllAccounts: (subjectKey, subject) => {
|
||||
const permissionMethodNames = subject.permissions.map(
|
||||
const permissionMethodNames = Object.values(subject.permissions).map(
|
||||
({ parentCapability }) => parentCapability,
|
||||
);
|
||||
dispatch(
|
||||
|
Loading…
Reference in New Issue
Block a user