department-of-veterans-affairs/vets-website

View on GitHub
src/applications/accredited-representative-portal/routes.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import App from './containers/App';
import LandingPage from './containers/LandingPage';
import POARequestsPage from './containers/POARequestsPage';
import SignedInLayoutWrapper from './containers/SignedInLayoutWrapper';

const routes = [
  {
    component: App,
    childRoutes: [
      {
        path: '/',
        component: LandingPage,
      },
      {
        component: SignedInLayoutWrapper,
        childRoutes: [
          {
            path: '/poa-requests',
            component: POARequestsPage,
          },
        ],
      },
    ],
  },
];

export default routes;