feat: protected routes for clinic docs update

fix: doc upload after rejection
This commit is contained in:
2025-05-21 11:25:07 +05:30
parent 3d91cee029
commit 35f21f2749
10 changed files with 404 additions and 100 deletions
+4 -2
View File
@@ -4,7 +4,7 @@ import ClinicsList from "../views/ClinicsList";
import Dashboard from "../views/Dashboard";
import StaffManagement from "../views/StaffManagement";
import ClinicDetails from "../views/ClinicDetails";
import Login from '../views/Login';
import Login from "../views/Login";
import YourDetailsForm from "../views/Signup/YourDetailsForm";
import MockPayment from "../views/MockPayment";
import Users from "../views/User";
@@ -13,6 +13,7 @@ import ClinicTranscripts from "../views/ClinicTranscripts";
import ContractManagement from "../views/ContractManagement";
import MasterDataManagement from "../views/MasterData";
import PaymentManagement from "../views/PaymentManagement";
import ClinicDocUpdater from "../views/ClinicDocUpdate";
export const routesData = [
{
@@ -28,6 +29,7 @@ export const routesData = [
{ path: "/transcripts", component: ClinicTranscripts },
{ path: "/masterData", component: MasterDataManagement },
{ path: "/payment-management", component: PaymentManagement },
{ path: "/docs", component: ClinicDocUpdater },
],
isProtected: true,
},
@@ -38,7 +40,7 @@ export const routesData = [
{ path: "/auth/login", component: Login },
{ path: "/auth/signup/payment", component: MockPayment },
{
path: 'signup/your-details',
path: "signup/your-details",
component: YourDetailsForm,
},
],