From ac606fcf1ea5ce978ed7daeef449b8bab8db13b7 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 21:29:13 +0800 Subject: [PATCH] style: format appRoutes.tsx with prettier (#1899 #1900) --- apps/web/src/router/appRoutes.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/web/src/router/appRoutes.tsx b/apps/web/src/router/appRoutes.tsx index 2aa771347..5ca446fbd 100644 --- a/apps/web/src/router/appRoutes.tsx +++ b/apps/web/src/router/appRoutes.tsx @@ -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 = { ), children: appChildren, -} +};