feat: view api service page
This commit is contained in:
@ -12,6 +12,7 @@ import PersonalInfoPage from "./pages/PersonalInfo";
|
||||
import ApiServicesPage from "./pages/ApiServices";
|
||||
import AdminLayout from "./layout/AdminLayout";
|
||||
import ApiServiceCreatePage from "./pages/ApiServices/Create";
|
||||
import ViewApiServicePage from "./pages/ApiServices/View";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@ -39,6 +40,10 @@ const router = createBrowserRouter([
|
||||
children: [
|
||||
{ index: true, element: <ApiServicesPage /> },
|
||||
{ path: "create", element: <ApiServiceCreatePage /> },
|
||||
{
|
||||
path: "view/:serviceId",
|
||||
element: <ViewApiServicePage />,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user