src/applications/burials-ez/routes.jsx
import { createRoutesWithSaveInProgress } from 'platform/forms/save-in-progress/helpers';
import formConfig from './config/form';
import BurialsApp from './BurialsApp.jsx';
const route = {
path: '/',
component: BurialsApp,
indexRoute: { onEnter: (nextState, replace) => replace('/introduction') },
childRoutes: createRoutesWithSaveInProgress(formConfig),
};
export default route;