Open
Description
Background
The Stats component in web/src/pages/Courts/CourtDetails/Stats/index.tsx
currently does not handle loading and error states when fetching data from multiple sources (court details and coin prices).
Proposed Changes
Add loading and error states to improve user experience:
- Display a loading spinner while data is being fetched
- Show an error message if data fetching fails
- Handle both court details and coin prices loading/error states
References
Additional Context
This improvement will help users understand when data is being loaded or if there are any issues with data fetching.
Metadata
Metadata
Assignees
Labels
No labels