Repository navigation
chore(activity): remove unused hook - #47847
Merged
Merged
Conversation
Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
Contributor
✨ Files requiring CODEOWNER review ✨👨🔧 @MetaMask/core-extension-ux (1 files, +1 -61)
|
Contributor
Builds ready [db477a8]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 2 warn · 🔴 3 fail)
Bundle Size Diffs
|
|
vinnyhoward
approved these changes
Nov 11, 2026
AndyMBridges
approved these changes
Nov 11, 2026
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
Remove unused prefetch hook
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Dead-code removal only; no runtime behavior change for active transaction queries.
Overview
This PR removes the exported
usePrefetchTransactionshook fromuseTransactionsQuery.ts, along with its supporting imports (useQueryClientandselectEnabledNetworksAsCaipChainIds). That hook opportunistically prefetched multi-account transaction pages into the React Query cache when external services were enabled and no data was already loading.useTransactionsQueryis unchanged aside from this deletion; transaction loading behavior for the activity UI stays the same, with no remaining references to the prefetch helper in the codebase.Reviewed by Cursor Bugbot for commit db477a8. Bugbot is set up for automated code reviews on this repo. Configure here.