Files
aeroresolve_frontend/src/AppRoutes.tsx
T

26 lines
1017 B
TypeScript

import { Route, Routes } from 'react-router-dom'
import Layout from './layout/AppLayout'
import HomePage from './app/dashboard'
import CohortManage from './app/cohartManage'
import PolicyEngineList from './app/policyEngine/components/PolicyEngineList'
import AddPolicyEngine from './app/policyEngine/components/AddPolicyEngine'
import RecoveryIncidentsList from './app/recoveryIncidents/components/RecoveryIncidentsList'
import RecoveryIncidentTabs from './app/recoveryIncidents/tabs/index'
function AppRoutes() {
return (
<Layout>
<Routes>
<Route path="/" element={<HomePage />} />
<Route path="/cohorts" element={<CohortManage />} />
<Route path="/policy-engine" element={<PolicyEngineList />} />
<Route path="/policy-engine/add" element={<AddPolicyEngine />} />
<Route path="/recovery" element={<RecoveryIncidentsList />} />
<Route path="/recovery/:id" element={<RecoveryIncidentTabs />} />
</Routes>
</Layout>
)
}
export default AppRoutes