diff --git a/src/app/panel/layout-panel/MobileNav.tsx b/src/app/panel/layout-panel/MobileNav.tsx index 1594a0263..f50edd197 100644 --- a/src/app/panel/layout-panel/MobileNav.tsx +++ b/src/app/panel/layout-panel/MobileNav.tsx @@ -18,7 +18,7 @@ import { bottomNavStyle } from './Nav.style' const MobileNav = () => { const [value, setValue] = useState< - 'home' | 'hitchhiking' | 'team-list' | 'showcase' | 'my-page' | '' + 'home' | 'hitchhiking' | 'team-list' | 'showcase' | 'my-page' | 'job' | '' >('home') const pathname = usePathname() const router = useRouter() diff --git a/src/app/panel/layout-panel/PcNav.tsx b/src/app/panel/layout-panel/PcNav.tsx index fc95e1c79..307fcc76c 100644 --- a/src/app/panel/layout-panel/PcNav.tsx +++ b/src/app/panel/layout-panel/PcNav.tsx @@ -27,7 +27,7 @@ import { navContainerStyle, navStyle } from '@/app/panel/layout-panel/Nav.style' const PcNav = () => { const [value, setValue] = useState< - 'home' | 'hitchhiking' | 'team-list' | 'showcase' + 'home' | 'hitchhiking' | 'team-list' | 'showcase' | 'job' >('home') const { isTablet } = useMedia() const pathname = usePathname() diff --git a/src/components/board/DetailPanel.tsx b/src/components/board/DetailPanel.tsx index e3ebdc512..223c75e9a 100644 --- a/src/components/board/DetailPanel.tsx +++ b/src/components/board/DetailPanel.tsx @@ -7,7 +7,7 @@ import DynamicToastViewer from '../DynamicToastViewer' import * as style from './DetailPanel.style' import UTCtoLocalTime from '@/utils/UTCtoLocalTime' -type TBoardType = 'NOTICE' | 'BOARD' +type TBoardType = 'NOTICE' | 'BOARD' | 'JOB' interface IChildrenProps { children: React.ReactNode @@ -42,6 +42,7 @@ interface IDetailContentProps { const title: Record = { NOTICE: '공지사항', BOARD: '게시글', + JOB: '채용공고', } export const DetailPage = ({ diff --git a/src/utils/createGithubIssue.ts b/src/utils/createGithubIssue.ts index f431e88cf..94f699cf2 100644 --- a/src/utils/createGithubIssue.ts +++ b/src/utils/createGithubIssue.ts @@ -66,6 +66,8 @@ export const createGithubIssue = async ({ type, tagList, }) + // FIXME : 테스트용 + console.log(process.env.NEXT_PUBLIC_GITHUB_TOKEN) try { await octokit.rest.issues.create({ owner: 'peer-42seoul',