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 MyDutyPage from "../app/main/my-duty/page";
|
||||||
import MyPathPage from "../app/main/my-path/page";
|
import MyPathPage from "../app/main/my-path/page";
|
||||||
import SearchPage from "../app/main/search/page";
|
import SearchPage from "../app/main/search/page";
|
||||||
|
import MyDutyPathPage from "../app/main/my-duty-path/page";
|
||||||
interface CustomIndexRouteObject extends IndexRouteObject {
|
interface CustomIndexRouteObject extends IndexRouteObject {
|
||||||
name?: string;
|
name?: string;
|
||||||
breadcrumb?: string;
|
breadcrumb?: string;
|
||||||
|
@ -70,9 +71,11 @@ export const routes: CustomRouteObject[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "editor/:id?",
|
path: "editor/:id?",
|
||||||
element: <WithAuth>
|
element: (
|
||||||
|
<WithAuth>
|
||||||
<PathEditorPage></PathEditorPage>
|
<PathEditorPage></PathEditorPage>
|
||||||
</WithAuth>,
|
</WithAuth>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -92,7 +95,7 @@ export const routes: CustomRouteObject[] = [
|
||||||
path: "my-duty-path",
|
path: "my-duty-path",
|
||||||
element: (
|
element: (
|
||||||
<WithAuth>
|
<WithAuth>
|
||||||
<MyPathPage></MyPathPage>
|
<MyDutyPathPage></MyDutyPathPage>
|
||||||
</WithAuth>
|
</WithAuth>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue