You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
References
Additional Context
This improvement will help users understand when data is being loaded or if there are any issues with data fetching.
The text was updated successfully, but these errors were encountered: