Skip to content

Commit

Permalink
Merge pull request #1142 from peer-42seoul/release-1.0.9
Browse files Browse the repository at this point in the history
Release 1.0.9
  • Loading branch information
yoouyeon authored Aug 5, 2024
2 parents 7a4f9b8 + e7efbe3 commit db858d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/panel/layout-panel/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/app/panel/layout-panel/PcNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 2 additions & 1 deletion src/components/board/DetailPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,6 +42,7 @@ interface IDetailContentProps {
const title: Record<TBoardType, string> = {
NOTICE: '공지사항',
BOARD: '게시글',
JOB: '채용공고',
}

export const DetailPage = ({
Expand Down
2 changes: 2 additions & 0 deletions src/utils/createGithubIssue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit db858d5

Please sign in to comment.