style: format appRoutes.tsx with prettier (#1899 #1900)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 3s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m43s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m58s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 2m0s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m33s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 3m32s
AI Code Review / AI Code Review (pull_request) Successful in 7m1s
CI/CD Pipeline / Validate - Style (pull_request) Has been cancelled
CI/CD Pipeline / Validate - Security (pull_request) Has been cancelled
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Has been cancelled
CI/CD Pipeline / Build Production API Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Web Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Has been cancelled
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / CI Gate (pull_request) Has been cancelled
PR Automation / Auto Merge on CI Green + Approved (pull_request) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 41h54m8s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 41h54m17s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 41h54m18s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 41h53m47s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 41h53m44s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 41h53m46s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 41h53m46s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 41h53m49s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 41h53m49s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 41h53m55s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 41h53m38s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 41h53m38s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 41h53m47s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 41h53m48s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 42h29m12s

This commit is contained in:
2026-09-14 21:29:13 +08:00
parent d176589c53
commit ac606fcf1e
+9 -7
View File
@@ -1,7 +1,7 @@
import { Navigate, type RouteObject } from "react-router-dom"
import MainLayout from "@/components/layout/MainLayout"
import { ProtectedRoute } from "./ProtectedRoute"
import { lazyRoute } from "./lazyRoute"
import { Navigate, type RouteObject } from "react-router-dom";
import MainLayout from "@/components/layout/MainLayout";
import { ProtectedRoute } from "./ProtectedRoute";
import { lazyRoute } from "./lazyRoute";
/**
* 受保护的 /app 子路由
@@ -62,7 +62,9 @@ const appChildren: RouteObject[] = [
},
{
path: "voice-materials",
lazy: lazyRoute(() => import("@/pages/voice-materials/VoiceMaterialLibrary")),
lazy: lazyRoute(
() => import("@/pages/voice-materials/VoiceMaterialLibrary"),
),
},
{
path: "my-voices",
@@ -125,7 +127,7 @@ const appChildren: RouteObject[] = [
},
],
},
]
];
export const appRoutes: RouteObject = {
path: "/app",
@@ -135,4 +137,4 @@ export const appRoutes: RouteObject = {
</ProtectedRoute>
),
children: appChildren,
}
};