Problem
The LearnerProfile page fetches ALL loans for a learner at once with no pagination. As users accumulate loans, this will cause slow page loads.
Root Cause
The learner loans query lacks pagination parameters.
What To Build
- Add pagination to the loans useQuery call in LearnerProfile.tsx
- Add pagination controls below the loans list
- Add loading state during page transitions
Files To Touch
src/pages/LearnerProfile.tsx — add pagination
Acceptance Criteria
Mandatory Checks
Problem
The LearnerProfile page fetches ALL loans for a learner at once with no pagination. As users accumulate loans, this will cause slow page loads.
Root Cause
The learner loans query lacks pagination parameters.
What To Build
Files To Touch
src/pages/LearnerProfile.tsx— add paginationAcceptance Criteria
Mandatory Checks