src/platform/forms/save-in-progress/helpers.js
Function createRoutesWithSaveInProgress
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createRoutesWithSaveInProgress(formConfig) {
const protectedRoutes = new Set([
'introduction',
'review-and-submit',
'confirmation',