From eb0876123481f6cf2f5a9a956a18a3d08d8cf1e4 Mon Sep 17 00:00:00 2001 From: Jiexi Luan Date: Fri, 20 Dec 2024 08:51:57 -0800 Subject: [PATCH] remove incremental redirect for permittedChains --- .../permissions-connect/permissions-connect.component.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ui/pages/permissions-connect/permissions-connect.component.js b/ui/pages/permissions-connect/permissions-connect.component.js index 0aa736399dbe..c39750c54666 100644 --- a/ui/pages/permissions-connect/permissions-connect.component.js +++ b/ui/pages/permissions-connect/permissions-connect.component.js @@ -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':