-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
Description
📘 Issue Description
Several hooks in the dashboard (useDashboard, useBookingDetails) are calling API endpoints that do not exist in the backend. This results in broken calls and inconsistent data handling.
🔍 Steps
- Review hooks (
useDashboard.ts, lines 59, 77, 95, 113). - Verify which backend endpoints are available for bookings, profiles, wallets, and dashboard stats.
- Update API service URLs in
services/api.ts. - Add fallbacks and error handling for missing endpoints.
✅ Acceptance Criteria
- All API calls in dashboard hooks point to valid backend endpoints.
- Calls to non-existent endpoints are removed or corrected.
- Error handling is implemented for unavailable endpoints.
- Dashboard renders real user data instead of mock/failing calls.
Reactions are currently unavailable