Repository navigation
chore(pages): remove unused imports in ui/pages - #47640
Merged
georgewrmarshall merged 1 commit intoNov 6, 2026
Merged
Conversation
Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
georgewrmarshall
temporarily deployed
to
pr-comment
November 5, 2026 09:27 — with
GitHub Actions
Inactive
georgewrmarshall
temporarily deployed
to
pr-comment
November 5, 2026 09:41 — with
GitHub Actions
Inactive
Contributor
Builds ready [3362ef9]
⚡ Performance Benchmarks (Total: 🟢 5 pass · 🟡 5 warn · 🔴 3 fail)
Bundle Size Diffs [🚨 Warning! Bundle size has increased!]
|
|
georgewrmarshall
enabled auto-merge
November 5, 2026 18:57
georgewrmarshall
disabled auto-merge
November 5, 2026 19:23
georgewrmarshall
enabled auto-merge
November 5, 2026 19:23
n3ps
approved these changes
Nov 6, 2026
amandaye0h
approved these changes
Nov 6, 2026
georgewrmarshall
deleted the
cursor/remove-dead-code-pages-imports-20261104
branch
November 6, 2026 07:43
Contributor
|
No release label on PR. Adding release label release-13.58.0 on PR, as PR was added to branch 13.58.0 when release was cut. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Removes unused imports in three
ui/pagesfiles. This branch was pushed on 2026-11-04 and still has no pull request. The diff still applies cleanly onto currentmain.Owner set: none (no CODEOWNERS match for any touched file).
ui/pages/networks/networks-page-list.tsxNetworkConfigurationimportui/pages/unlock-page/reset-password-modal.tsxuseContextimportui/pages/multi-srp/import-srp/import-srp.tsxuseEffect,MetaMaskReduxDispatchimportsNo user-facing behavior change.
Docs/comments updated: none
Changelog
CHANGELOG entry: null
Related issues
Refs: proactive dead-code cleanup (extension counterpart of metamask-mobile#37948)
Manual testing steps
N/A — deletes unreachable code. There is no user-facing behavior to click through.
Screenshots/Recordings
N/A — no UI change
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Import-only cleanup with no logic, auth, or data-path changes.
Overview
Removes dead import lines in three
ui/pagesmodules with no runtime or UI changes.In
import-srp.tsx, drops unuseduseEffectfrom the React import and the unusedMetaMaskReduxDispatchtype. Innetworks-page-list.tsx, removes the unusedNetworkConfigurationtype from@metamask/network-controller(the file still usesAddNetworkFieldsandMultichainNetworkConfiguration). Inreset-password-modal.tsx, trims unuseduseContextfrom the React import.This is housekeeping aligned with proactive dead-code cleanup; behavior of import SRP, networks list, and reset-password flows is unchanged.
Reviewed by Cursor Bugbot for commit 3362ef9. Bugbot is set up for automated code reviews on this repo. Configure here.