Join our community: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
Separately, Stats.tsx is flagged for shipping hardcoded fake TVL/stream-count numbers. Once that's fixed to pull real data, there needs to be test coverage for the case where the stats endpoint returns zero, null, or a network error, so the component doesn't render NaN, undefined, or a broken layout to visitors on the marketing homepage.
Acceptance criteria
Files to touch
frontend/src/components/Stats.tsx
Out of scope
- Replacing the hardcoded numbers with real data (tracked separately)
- Redesigning the stats section layout
Why this matters
Separately,
Stats.tsxis flagged for shipping hardcoded fake TVL/stream-count numbers. Once that's fixed to pull real data, there needs to be test coverage for the case where the stats endpoint returns zero, null, or a network error, so the component doesn't renderNaN,undefined, or a broken layout to visitors on the marketing homepage.Acceptance criteria
Files to touch
frontend/src/components/Stats.tsxOut of scope