From a74f58656458f530c332623aeeebe595df567f89 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 21:37:18 +0800 Subject: [PATCH] style: reformat navigation.ts with repo prettier config (#1899 #1900) --- apps/web/src/config/navigation.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/web/src/config/navigation.ts b/apps/web/src/config/navigation.ts index a966d6438..8ea36e451 100644 --- a/apps/web/src/config/navigation.ts +++ b/apps/web/src/config/navigation.ts @@ -2,7 +2,7 @@ * 统一导航配置 * Header.tsx 和 Sidebar.tsx 共享此数据源,避免路由配置重复 */ -import React from "react"; +import React from "react" import { DashboardOutlined, FileOutlined, @@ -17,20 +17,20 @@ import { CrownOutlined, UnorderedListOutlined, UserOutlined, -} from "@ant-design/icons"; +} from "@ant-design/icons" /** 导航项类型 */ export interface NavItem { - key: string; - label: string; - path: string; - icon: React.ReactNode; + key: string + label: string + path: string + icon: React.ReactNode } /** 导航分组类型 */ export interface NavGroup { - title: string; - items: NavItem[]; + title: string + items: NavItem[] } /** @@ -105,7 +105,7 @@ export const NAV_ITEMS: NavItem[] = [ path: "/app/tasks", icon: React.createElement(UnorderedListOutlined), }, -]; +] /** 侧边栏导航分组(Sidebar 分组列表使用) */ export const NAV_GROUPS: NavGroup[] = [ @@ -202,4 +202,4 @@ export const NAV_GROUPS: NavGroup[] = [ }, ], }, -]; +]