0724f3b1e72723552adb5e72b3ae30f57f005021
callApi, refactor API integrations, and adjust error handling
- Delete unused `callApi` utility and related imports across components. - Replace `callApi` with direct `fetch` usage in `validateCustomer` and `addCustomer`. - Update `customerRoutes` to include `/api` prefix for consistency. - Refactor `useErrorHandler` to ensure comprehensive state management during errors. - Improve `ErrorBoundary` component text for better clarity in fallback UI. - Align `CustomersPage` logic with `useCallback` for optimized dependency management.
Description
No description provided
Languages
TypeScript
76.1%
Java
21.1%
CSS
1.7%
Dockerfile
0.4%
JavaScript
0.3%
Other
0.4%