Skip to content

[Bug] PoolCard APY display shows NaN when pool data is loading #484

Description

@nonsobethel0-dev

Description

The PoolCard component attempts to format APY before the pool data has loaded, resulting in NaN being displayed to users.

Current behavior

APY shows as NaN during loading state.

Expected behavior

Show a loading skeleton or placeholder until APY data is available.

Files

  • components/pools/PoolCard.tsx

Impact

Users see NaN values which looks broken.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions