add
This commit is contained in:
parent
2f023de253
commit
9034e61229
|
@ -24,6 +24,7 @@ import MyLearningPage from "../app/main/my-learning/page";
|
|||
import MyDutyPage from "../app/main/my-duty/page";
|
||||
import MyPathPage from "../app/main/my-path/page";
|
||||
import SearchPage from "../app/main/search/page";
|
||||
import MyDutyPathPage from "../app/main/my-duty-path/page";
|
||||
interface CustomIndexRouteObject extends IndexRouteObject {
|
||||
name?: string;
|
||||
breadcrumb?: string;
|
||||
|
@ -70,9 +71,11 @@ export const routes: CustomRouteObject[] = [
|
|||
},
|
||||
{
|
||||
path: "editor/:id?",
|
||||
element: <WithAuth>
|
||||
element: (
|
||||
<WithAuth>
|
||||
<PathEditorPage></PathEditorPage>
|
||||
</WithAuth>,
|
||||
</WithAuth>
|
||||
),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -92,7 +95,7 @@ export const routes: CustomRouteObject[] = [
|
|||
path: "my-duty-path",
|
||||
element: (
|
||||
<WithAuth>
|
||||
<MyPathPage></MyPathPage>
|
||||
<MyDutyPathPage></MyDutyPathPage>
|
||||
</WithAuth>
|
||||
),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue