pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

perf: (pools): Don't fetch finished pools data when in live tab except user stakes in pools

Open memoyil opened this issue 2 years ago • 2 comments

User stakes data needed to show dot on finished tab button to indicate there are stakes in finished pools

It also reduces calls when user harvest or stake on one pool. (Currently it updates all pools data which is unnecessary)

memoyil avatar Sep 09 '22 15:09 memoyil

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
web ✅ Ready (Inspect) Visit Preview Nov 25, 2022 at 10:57AM (UTC)
2 Ignored Deployments
Name Status Preview Updated
aptos-web ⬜️ Ignored (Inspect) Nov 25, 2022 at 10:57AM (UTC)
bridge ⬜️ Ignored (Inspect) Nov 25, 2022 at 10:57AM (UTC)

vercel[bot] avatar Sep 09 '22 15:09 vercel[bot]

⚠️ No Changeset found

Latest commit: 4b56bd0efa97e717ca2cffc642fd55348554cc3d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 25 '22 08:10 changeset-bot[bot]