department-of-veterans-affairs/vets-website

View on GitHub
src/applications/appeals/testing/nod-new/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';

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

  childRoutes: createRoutesWithSaveInProgress(formConfig),
};

export default route;