From e805f4159c79b99ae1994f5df544a46c5dfb595f Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 15 Sep 2026 09:34:33 +0800 Subject: [PATCH] fix(1895): router/appRoutes.tsx - TS/Lint fixes (ThunderboltOutlined/actions/typed/no-unused) --- apps/web/src/router/appRoutes.tsx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/apps/web/src/router/appRoutes.tsx b/apps/web/src/router/appRoutes.tsx index b274814e8..fc4442f3f 100644 --- a/apps/web/src/router/appRoutes.tsx +++ b/apps/web/src/router/appRoutes.tsx @@ -6,7 +6,6 @@ import { lazyRoute } from "./lazyRoute" /** * 受保护的 /app 子路由 * 所有页面使用 lazy 懒加载 - * v2: 增加 /app/points/* 积分相关路由 */ const appChildren: RouteObject[] = [ { @@ -33,10 +32,6 @@ const appChildren: RouteObject[] = [ path: "voices", lazy: lazyRoute(() => import("@/pages/voices/VoiceLibrary")), }, - { - path: "templates", - lazy: lazyRoute(() => import("@/pages/templates/TemplateLibrary")), - }, { path: "generate", lazy: lazyRoute(() => import("@/pages/generate/GeneratePage")), @@ -57,18 +52,10 @@ const appChildren: RouteObject[] = [ path: "tasks", lazy: lazyRoute(() => import("@/pages/tasks/TaskCenter")), }, - { - path: "editing-planner", - lazy: lazyRoute(() => import("@/pages/editing-planner/EditingPlanner")), - }, { path: "ai-avatar", lazy: lazyRoute(() => import("@/pages/ai-avatar/AiAvatarPage")), }, - { - path: "my-templates", - lazy: lazyRoute(() => import("@/pages/my-templates/MyTemplates")), - }, { path: "voice-clone", lazy: lazyRoute(() => import("@/pages/voice-clone/VoiceClone")), @@ -109,7 +96,6 @@ const appChildren: RouteObject[] = [ path: "subscription/billing", lazy: lazyRoute(() => import("@/pages/subscription/Billing")), }, - // v2: 积分相关路由 { path: "points", lazy: lazyRoute(() => import("@/pages/points/Center")),