Skip to content

Commit

Permalink
remove incremental redirect for permittedChains
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Dec 20, 2024
1 parent 8953a07 commit eb08761
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ui/pages/permissions-connect/permissions-connect.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,6 @@ export default class PermissionConnect extends Component {
return;
}

// if this is an incremental permission request for permitted chains, skip the account selection
if (
permissionsRequest?.diff?.permissionDiffMap?.[
PermissionNames.permittedChains
]
) {
history.replace(confirmPermissionPath);
}
if (history.location.pathname === connectPath && !isRequestingAccounts) {
switch (requestType) {
case 'wallet_installSnap':
Expand Down

0 comments on commit eb08761

Please sign in to comment.