Skip to content

PlatformStats component not used on home page #251

Description

@ritaifeoluwa

What changed

  • src/components/PlatformStats/PlatformStats.tsx is a well-built stats grid with loading skeletons
  • But src/app/page.tsx uses its own inline StatCard component instead of PlatformStats
  • Two separate implementations of the same thing

Why

  • DRY: the home page should use the existing PlatformStats component or merge the implementations
  • Currently there's duplicate stat rendering logic

How to test

  1. Compare src/app/page.tsx StatCard with src/components/PlatformStats/PlatformStats.tsx
  2. Observe both render similar stats (TVL, pools, users) with different UI

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions