diff --git a/src/router/index.tsx b/src/router/index.tsx index ce03ee8..a64b0ad 100644 --- a/src/router/index.tsx +++ b/src/router/index.tsx @@ -13,6 +13,7 @@ import ChatRoom from '@/pages/ChatRoom'; import QSpaceDetailPage from '@/pages/QSpaceDetail'; import QuestionPage from '@/pages/Question'; import SelectPage from '@/pages/Select'; +import ProfilePage from '@/pages/Profile'; const router = createBrowserRouter([ { @@ -71,6 +72,10 @@ const router = createBrowserRouter([ path: '/select', element: , }, + { + path: '/profile/:id', + element: , + }, ], }, ]);