department-of-veterans-affairs/vets-website

View on GitHub
src/applications/_mock-form/routes.jsx

Summary

Maintainability
A
35 mins
Test Coverage
import { createRoutesWithSaveInProgress } from 'platform/forms/save-in-progress/helpers';
import formConfig from './config/form';
import App from './containers/App.jsx';

const route = {
  path: '/',
  component: App,
  indexRoute: { onEnter: (nextState, replace) => replace('/introduction') },

  childRoutes: createRoutesWithSaveInProgress(formConfig),
};

export default route;