Wire KYC and Users modules to real backend API
-
KYC module: replaced inline mock logic with a full service layer (
kycApiClient,kycService), typed DTOs (kyc.types.ts), and React Query hooks (useKycDossiers). Pages (KycDossiersPage,KycDossierDetailPage) andKycStatisticsWidgetnow consume live data instead of the local mock array. -
Users module: same pattern applied —
usersApiClient,userService,adminUserService,user.types.ts, and hooks (useUsers,useAdminUsers).UsersListPage,UserDetailPage, andAdminUsersPagemigrated to TanStack Query. -
Endpoints: added
/api/backoffice/kycand/api/backoffice/usersroutes toendpoints.ts. -
AlertCard: converted
<button>to<div role="button">to fix interactive-element nesting (button-in-button) reported by the linter.