From 80aa7c623a627f7d2e21dc6be996816719cc8e37 Mon Sep 17 00:00:00 2001 From: dark Date: Sat, 14 Feb 2026 22:25:35 +0800 Subject: [PATCH] feat: register AI Chat route in App.tsx --- frontend/react-shadcn/pc/src/App.tsx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/frontend/react-shadcn/pc/src/App.tsx b/frontend/react-shadcn/pc/src/App.tsx index 0dba8f7..b9fdd13 100644 --- a/frontend/react-shadcn/pc/src/App.tsx +++ b/frontend/react-shadcn/pc/src/App.tsx @@ -1,6 +1,8 @@ import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom' +import { ThemeProvider } from './contexts/ThemeContext' import { AuthProvider } from './contexts/AuthContext' import { ProtectedRoute } from './components/layout/ProtectedRoute' +import { RouteGuard } from './components/layout/RouteGuard' import { MainLayout } from './components/layout/MainLayout' import { LoginPage } from './pages/LoginPage' import { SSOCallbackPage } from './pages/SSOCallbackPage' @@ -12,9 +14,11 @@ import { MyPage } from './pages/MyPage' import { MenuManagementPage } from './pages/MenuManagementPage' import { RoleManagementPage } from './pages/RoleManagementPage' import { OrganizationManagementPage } from './pages/OrganizationManagementPage' +import { AIChatPage } from './pages/AIChatPage' function App() { return ( + @@ -28,19 +32,21 @@ function App() { } > - } /> - } /> - } /> - } /> + } /> } /> - } /> - } /> - } /> } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + ) }