diff --git a/src/components/common/navbar/NavInfo.ts b/src/components/common/navbar/NavInfo.ts index 88a9de5..3680d1d 100644 --- a/src/components/common/navbar/NavInfo.ts +++ b/src/components/common/navbar/NavInfo.ts @@ -1,10 +1,10 @@ import { NAV_URL_LIST } from './Navigation'; import { NAV_LIST } from './Navigation'; -interface NavItemType { - label: string; - url: (typeof NAV_URL_LIST)[keyof typeof NAV_URL_LIST]; // NAV_URL_LIST의 value들을 상수처럼 쓰고 싶을 때 이렇게 사용 -} +// interface NavItemType { +// label: string; +// url: (typeof NAV_URL_LIST)[keyof typeof NAV_URL_LIST]; // NAV_URL_LIST의 value들을 상수처럼 쓰고 싶을 때 이렇게 사용 +// } export const NAV_INFO = { [NAV_LIST.MAIN]: { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 234cc1f..1f7ae59 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,10 +1,10 @@ import HomeLayout from '@/components/common/layout/homeLayout'; -import LoginAfter from '@/components/home/LoginAfter'; +// import LoginAfter from '@/components/home/LoginAfter'; import LoginBefore from '@/components/home/LoginBefore'; import api from '@/services/TokenService'; import UserHomePage from './user'; -import RenewalPage from '@/renewal'; +// import RenewalPage from '@/renewal'; const HomePage = () => { const token = api.getToken(); diff --git a/src/pages/vote/detail/[id].tsx b/src/pages/vote/detail/[id].tsx index d2619b1..18f42bc 100644 --- a/src/pages/vote/detail/[id].tsx +++ b/src/pages/vote/detail/[id].tsx @@ -121,10 +121,10 @@ const VoteDetailPage = ({ response }: any) => { pointerEvents: response?.data?.isClosed ? 'none' : response?.data?.isVotingParticipant - ? clickedAgainBtn - ? 'auto' - : 'none' - : 'auto', + ? clickedAgainBtn + ? 'auto' + : 'none' + : 'auto', }}> {response?.data?.voteStatuses.map((item: VoteStatusData) => (