process page added

This commit was merged in pull request #38.
This commit is contained in:
victorAnumudu
2024-07-12 10:22:05 +01:00
parent fc214b4bad
commit 4ac97537cd
5 changed files with 177 additions and 67 deletions
@@ -0,0 +1,45 @@
import { Navigate, Routes, Route, Outlet } from "react-router-dom";
import { PageLink, PageTitle } from "../../../../_digifi/layout/core";
import ApproveRejectPage from "./ApproveRejectPage";
const processBreadCrumbs: Array<PageLink> = [
{
title: "Loan",
path: "/loan/pages/process/verified",
isSeparator: false,
isActive: false,
},
{
title: "",
path: "",
isSeparator: true,
isActive: false,
},
];
const ApproveRejectRoutes = () => (
<Routes>
<Route
element={
<>
{/* <ProcessHeader /> */}
<Outlet />
</>
}
>
<Route
path="process"
element={
<>
<PageTitle breadcrumbs={processBreadCrumbs}>Verified</PageTitle>
<ApproveRejectPage />
</>
}
/>
<Route index element={<Navigate to="/loan/verified/process" />} />
</Route>
</Routes>
);
export default ApproveRejectRoutes;