pancake-frontend
pancake-frontend copied to clipboard
fix: v3 Roi calculator display part2
PR-Codex overview
This PR enhances the useRate
hook by adding a new compoundOn
parameter and updating the getAccrued
function to handle compound frequency.
Detailed summary
- Added
compoundOn
parameter touseRate
hook - Updated
getAccrued
function to handle compound frequency andcompoundOn
flag
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
⚠️ No Changeset found
Latest commit: 30746a8a189649caa67336d5870b18afc09bcc01
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
aptos-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 20, 2024 7:53am |
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 20, 2024 7:53am |
4 Ignored Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
blog | ⬜️ Ignored (Inspect) | Visit Preview | Mar 20, 2024 7:53am | |
bridge | ⬜️ Ignored (Inspect) | Visit Preview | Mar 20, 2024 7:53am | |
games | ⬜️ Ignored (Inspect) | Visit Preview | Mar 20, 2024 7:53am | |
uikit | ⬜️ Ignored (Inspect) | Visit Preview | Mar 20, 2024 7:53am |