Skip to content

Commit

Permalink
[#13] Feat informationPage - 라우팅 처리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ppacman committed May 6, 2023
1 parent 4c48409 commit e2b1240
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/components/header/components/MenuButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ export const MenuButtons = () => {
return (
<Wrapper>
<Button onClick={() => handleRouter(pathName.SIGNUP)}>발주신청</Button>
<Button>발주현황</Button>
<Button onClick={() => handleRouter(pathName.INFORMATION)}>
직원정보
</Button>
<Button onClick={() => handleRouter(pathName.ORDERREVIEW)}>
발주현황
</Button>
<Button>직원정보</Button>
<Button onClick={() => handleRouter(pathName.INFORMATION)}>
직원정보
</Button>
<LastButton>후기</LastButton>
</Wrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion src/config/pathName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export const pathName = {
MAIN: "/",
LOGIN: "/login",
SIGNUP: "/signUp",
INFORMATION : "/information",
INFORMATION : "/Information",
ORDERREVIEW: "/orderReview",
};

0 comments on commit e2b1240

Please sign in to comment.