From f352a088cb39eb915288ff3db5a01613e894d28d Mon Sep 17 00:00:00 2001 From: yoouyeon Date: Mon, 5 Aug 2024 15:36:32 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Fix:=20=EB=88=84=EB=9D=BD=EB=90=9C=20job=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=ED=83=80=EC=9E=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/panel/layout-panel/MobileNav.tsx | 2 +- src/app/panel/layout-panel/PcNav.tsx | 2 +- src/components/board/DetailPanel.tsx | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/panel/layout-panel/MobileNav.tsx b/src/app/panel/layout-panel/MobileNav.tsx index b1ac86e3d..9f327af89 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 3951f5b1a..55f79fc14 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 = ({ From edba731b6be1b7fb1a9d2bcb74125c361f8af2e4 Mon Sep 17 00:00:00 2001 From: yoouyeon Date: Mon, 5 Aug 2024 15:41:46 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/createGithubIssue.ts | 2 ++ 1 file changed, 2 insertions(+) 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',