You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: Reduce graphql requests in farms page (#9865)
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on restructuring import paths for helper functions in
the Info section of the web app. It updates import paths to improve
organization and consistency.
### Detailed summary
- Updated import paths for `infoDataHelpers` and `infoQueryHelpers` in
multiple files to `utils` directory
- Added new interfaces `V3FarmWithoutStakedValue` and
`V2FarmWithoutStakedValue` in `state/farms/types.ts`
- Updated import paths for `getChangeForPeriod` in various files to
`utils`
- Updated import paths for `getPercentChange` in multiple files to
`utils`
- Updated import paths for `useBCakeProxyContractAddress` in different
components and hooks to match new directory structure
> The following files were skipped due to too many changes:
`doc/Info.md`,
`apps/web/src/views/Farms/components/FarmCard/V3/FarmV3ApyButton.tsx`,
`apps/web/src/views/Farms/FarmsV3.tsx`,
`apps/web/src/state/farms/hooks.ts`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`
<!-- end pr-codex -->
0 commit comments