Skip to content

Conversation

@webdev403
Copy link
Contributor

Fix the following issue:

Description

When navigating through the Farms page and selecting a stablecoin pool with USDC as one of the tokens, an issue occurs when choosing Gamma as the vault. The APR value for Gamma changes to 0 and gets stuck in an infinite loading state.

Steps to Reproduce

  1. Go to the Farms page.
  2. Select Stablecoins and choose a pool containing USDC.
  3. Select a pool that uses Gamma Pool Manager.
  4. Click the Get LP button to navigate to the Pool page with the selected token pair.
  5. Stay with Automatic Range and select Gamma as the vault.
  6. Observe that the APR value for Gamma changes to 0 and starts infinite loading.

Expected Behavior

  • The APR value should load correctly for the selected Gamma vault.
  • There should be no infinite loading—the data should be fetched and displayed properly.

Actual Behavior

  • The APR value turns to 0 instead of displaying the correct percentage.
  • The loading indicator keeps spinning indefinitely, preventing users from seeing the range.

Proposed Fix

  • Investigate why the Gamma APR value is not loading correctly.
  • Ensure that the API response for Gamma APR is correctly fetched and processed.
  • Implement proper error handling and fallback behavior if the APR data is unavailable.

Screenshots

infinite-loading-gamma.mp4

@vercel
Copy link

vercel bot commented Mar 26, 2025

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

Name Status Preview Comments Updated (UTC)
interface-v2 ❌ Failed (Inspect) Mar 26, 2025 11:55am

@sameepsi sameepsi merged commit a28edb1 into QuickSwap:dev2 Mar 26, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants