the-tip-top-frontend/hooks/index.ts
soufiane eded0187a0 fix: replace apiFetch with api service methods
- hooks/index.ts: remove non-existent exports (apiFetch, getAuthToken)
- app/employe/gains-client/page.tsx: use api.get and api.post
- app/employe/historique/page.tsx: use api.get

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 15:38:18 +01:00

6 lines
227 B
TypeScript

export { useAuth } from '@/contexts/AuthContext';
export { useForm } from './useForm';
export { useToast } from './useToast';
export { useGame } from './useGame';
export { useApi, useFetchData, api, ApiError } from './useApi';