-
Notifications
You must be signed in to change notification settings - Fork 5.4k
chore: unassigned variables #37205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: unassigned variables #37205
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [73522dc]
UI Startup Metrics (1268 ± 86 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be removed from Settings page also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Removing some more... 🪓
| > | ||
| <Text | ||
| className={classnames({ | ||
| 'settings-page__subheader--link': initialBreadCrumbRoute, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with initialBreadCrumbRoute gone there was no point to the className and onClick
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [27e5d1c]
UI Startup Metrics (1267 ± 78 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Remove unassigned variables and dead code in Settings
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Removes unused breadcrumb-related props/markup from Settings and an unused error var in domain lookup, simplifying subheader rendering and updating stories/tests accordingly.
initialBreadCrumbKey,initialBreadCrumbRoute,breadCrumbTextKey) fromsettings.component.js, container, stories, and tests.Textheading; keep address trail for entry pages.errorvar and stop passing it tolookupEndinui/ducks/domains.js(logic otherwise unchanged).Written by Cursor Bugbot for commit 27e5d1c. This will update automatically on new commits. Configure here.