Skip to content

Commit

Permalink
Fix: IJob.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeon81 committed Jul 2, 2024
1 parent 257e84d commit d5454ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/app/panel/layout-panel/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Header = ({
if (!isLogin) {
router.push('/login?redirect=/my-page')
} else setTitle('마이페이지')
} else if (pathname.startsWith('/job')) {
} else if (pathname == '/job') {
setTitle('채용공고')
} else {
setTitle('')
Expand All @@ -79,7 +79,8 @@ const Header = ({
const onlyTitle =
pathname?.startsWith('/my-page') ||
pathname?.startsWith('/team-list') ||
pathname?.startsWith('/login')
pathname?.startsWith('/login') ||
pathname?.startsWith('/job')

return (
<AppBar position="fixed" sx={mobileHeader}>
Expand Down
4 changes: 0 additions & 4 deletions src/types/IJob.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ export interface IJob {
createdAt: string
id: number
}

export interface IJobDetail extends IJob {
content: string
}

0 comments on commit d5454ac

Please sign in to comment.