Skip to content

Commit

Permalink
feat: 회원 탈퇴 라우터 추가 #259
Browse files Browse the repository at this point in the history
  • Loading branch information
imdaxsz committed Nov 19, 2024
1 parent dda330d commit 7379a7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/routes/PrivateRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Layout from '@/components/Layout';
import PrivateRoute from '@/components/PrivateRoute';

const MyPage = lazy(() => import('@/pages/My'));
const Leave = lazy(() => import('@/pages/My/Leave'));

export const privateRoutes: RouteObject[] = [
{
Expand All @@ -19,6 +20,10 @@ export const privateRoutes: RouteObject[] = [
path: '/mypage',
element: <MyPage />,
},
{
path: '/mypage/leave',
element: <Leave />,
},
],
},
];

0 comments on commit 7379a7f

Please sign in to comment.