From 9034e61229042bcb5c7e522916e906d00061b222 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Sun, 2 Mar 2025 17:45:05 +0800 Subject: [PATCH] add --- apps/web/src/routes/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/web/src/routes/index.tsx b/apps/web/src/routes/index.tsx index b12f419..c176a2c 100755 --- a/apps/web/src/routes/index.tsx +++ b/apps/web/src/routes/index.tsx @@ -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: - - , + element: ( + + + + ), }, ], }, @@ -92,7 +95,7 @@ export const routes: CustomRouteObject[] = [ path: "my-duty-path", element: ( - + ), },