diff --git a/src/components/feature/header/StatusDropDownItems.tsx b/src/components/feature/header/StatusDropDownItems.tsx index 11120e4..2693cce 100644 --- a/src/components/feature/header/StatusDropDownItems.tsx +++ b/src/components/feature/header/StatusDropDownItems.tsx @@ -23,17 +23,17 @@ const handleItemClick = }; const commonDropdownItems = ( - closeDropdown: (() => void) | undefined, + // closeDropdown: (() => void) | undefined, additionalItems: React.ReactNode ) => ( <> - + {/* 마이페이지 - + */} {additionalItems} @@ -88,7 +88,7 @@ export const renderDropdownItems = ( return null; } - return commonDropdownItems(closeDropdown, additionalItems); + return commonDropdownItems(additionalItems); }; const ResponsiveText = styled(Text)` diff --git a/src/pages/admin/components/docs/ClassYearIdDropDown.tsx b/src/pages/admin/components/docs/ClassYearIdDropDown.tsx index 72281b0..68d97b1 100644 --- a/src/pages/admin/components/docs/ClassYearIdDropDown.tsx +++ b/src/pages/admin/components/docs/ClassYearIdDropDown.tsx @@ -4,7 +4,6 @@ import { displayCenter } from '@gdg/styles/LayoutStyle'; import { useGetClassYearList } from '@gdg/apis/hooks/yearId/useGetClassYearList'; import { DividingLine } from './ApplyDetailModal.style'; - const DropdownContainer = styled.div` position: relative; top: 0; diff --git a/src/pages/admin/components/docs/Memo.tsx b/src/pages/admin/components/docs/Memo.tsx index 83a3ba1..d9217e4 100644 --- a/src/pages/admin/components/docs/Memo.tsx +++ b/src/pages/admin/components/docs/Memo.tsx @@ -83,6 +83,8 @@ const Memo = ({ } }; + const displayNote = memo ? memo.note : note ? JSON.stringify({ note }) : ''; + return ( @@ -105,7 +107,7 @@ const Memo = ({ diff --git a/src/router/Router.tsx b/src/router/Router.tsx index 31d44db..b2f74a7 100644 --- a/src/router/Router.tsx +++ b/src/router/Router.tsx @@ -35,7 +35,7 @@ const ApplyFormPage = lazy(() => import('@gdg/pages/apply/ApplyFormPage')); const ApplyExPage = lazy(() => import('@gdg/pages/apply/ApplyExPage')); const InquiryPage = lazy(() => import('@gdg/pages/apply/InquiryPage')); const IntroducePage = lazy(() => import('@gdg/pages/introduce/IntroducePage')); -const MyPage = lazy(() => import('@gdg/pages/mypage/MyPage')); +// const MyPage = lazy(() => import('@gdg/pages/mypage/MyPage')); const AuthCallBackPage = lazy( () => import('@gdg/pages/signin/AuthCallBackPage') ); @@ -108,16 +108,16 @@ const routesConfig: AppRouteObject[] = [ }, ], }, - { - path: 'mypage', - element: , - children: [ - { - path: '', - element: , - }, - ], - }, + // { + // path: 'mypage', + // element: , + // children: [ + // { + // path: '', + // element: , + // }, + // ], + // }, { path: 'team', element: ,