Skip to content

Conversation

@memoyil
Copy link
Collaborator

@memoyil memoyil commented Nov 20, 2025


PR-Codex overview

This PR focuses on adding error handling to the liquidity calculation process in the useAddLiquidityAmount hook. It wraps the liquidity calculation in a try-catch block to handle potential errors gracefully.

Detailed summary

  • Introduced a try-catch block to handle errors during liquidity calculation.
  • Added an error log statement to console when liquidity calculation fails.
  • Returned undefined values for amounts and liquidity in case of an error.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 20, 2025

⚠️ No Changeset found

Latest commit: 1427eef

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

@vercel
Copy link

vercel bot commented Nov 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web Ready Ready Preview Comment Nov 20, 2025 2:14pm
8 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
aptos-web Ignored Ignored Nov 20, 2025 2:14pm
blog Ignored Ignored Nov 20, 2025 2:14pm
bridge Ignored Ignored Nov 20, 2025 2:14pm
games Ignored Ignored Nov 20, 2025 2:14pm
gamification Ignored Ignored Nov 20, 2025 2:14pm
solana Ignored Ignored Nov 20, 2025 2:14pm
ton Ignored Ignored Nov 20, 2025 2:14pm
uikit Ignored Ignored Nov 20, 2025 2:14pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants