Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update the tokenList cache in universal pages (#10753)
<!-- start pr-codex --> ## PR-Codex overview This PR adds a new constant for universal page paths and integrates it into the `UpdaterByChainId` function to enhance routing checks. ### Detailed summary - Introduced `UNIVERSAL_PAGE_PATHS` with paths for liquidity pools and positions in `exchange.ts`. - Updated the import statement in `updater.ts` to include `UNIVERSAL_PAGE_PATHS`. - Modified the `includeListUpdater` logic to check against both `EXCHANGE_PAGE_PATHS` and `UNIVERSAL_PAGE_PATHS`. - Adjusted the `queryKey` in the `useQuery` hook to include `chainId`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information