src/applications/edu-benefits/pages/oldSchool.js
Function createOldSchoolPage
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function createOldSchoolPage(schema) {
const { trainingEndDate, reasonForChange } = schema.properties;
const { school, date } = schema.definitions;
return {
path: 'school-selection/old-school',