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

fix: Roi calculator max not using deposit amount into account

Open memoyil opened this issue 11 months ago • 2 comments


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 in maxA and maxB calculation

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

memoyil avatar Mar 21 '24 20:03 memoyil

⚠️ 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

changeset-bot[bot] avatar Mar 21 '24 20:03 changeset-bot[bot]

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

vercel[bot] avatar Mar 21 '24 20:03 vercel[bot]