pancake-frontend
pancake-frontend copied to clipboard
fix: Roi calculator max not using deposit amount into account
PR-Codex overview
This PR updates the RoiCalculator.tsx
file to include the stringDepositAmount
in the calculation of maxA
and maxB
.
Detailed summary
- Include
stringDepositAmount
in ROI calculation - Update return statement to consider
stringDepositAmount
inmaxA
andmaxB
calculation
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
⚠️ No Changeset found
Latest commit: bef0168cb6f29f437c28b7bd99ca358885d21c73
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 | Jul 22, 2024 8:19am |
gamification | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:19am |
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:19am |
4 Skipped Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
blog | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:19am | |
bridge | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:19am | |
games | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:19am | |
uikit | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:19am |