From dc546fb85927ef95c4aba0279de52bfa0d96e4c7 Mon Sep 17 00:00:00 2001 From: minbo Date: Tue, 24 Sep 2024 13:55:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20=ED=8C=8C?= =?UTF-8?q?=EB=9D=BC=EB=AF=B8=ED=84=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/interview/Board.tsx | 2 +- frontend/components/interview/PageNavbar.tsx | 2 +- frontend/src/apis/interview/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/components/interview/Board.tsx b/frontend/components/interview/Board.tsx index cbce2cfc..a9946935 100644 --- a/frontend/components/interview/Board.tsx +++ b/frontend/components/interview/Board.tsx @@ -40,7 +40,7 @@ const InterviewBoard = ({ generation }: InterviewBoardProps) => { queryFn: () => getInterviewRecordByPageWithOrder({ page: +pageIndex, - sortType: order, + order: order, year: generation, }), }); diff --git a/frontend/components/interview/PageNavbar.tsx b/frontend/components/interview/PageNavbar.tsx index 2e3fe174..5228fcfe 100644 --- a/frontend/components/interview/PageNavbar.tsx +++ b/frontend/components/interview/PageNavbar.tsx @@ -33,7 +33,7 @@ const InterviewPageNavbar = ({ generation }: InterviewPageNavbarProps) => { () => getInterviewRecordByPageWithOrder({ page: +pageIndex, - sortType: order, + order: order, year: generation, }), { diff --git a/frontend/src/apis/interview/index.ts b/frontend/src/apis/interview/index.ts index 60bb3ff2..4751c5fe 100644 --- a/frontend/src/apis/interview/index.ts +++ b/frontend/src/apis/interview/index.ts @@ -26,7 +26,7 @@ interface RecordsByPageRes { interface GetInterviewRecordByPageWithOrderReq { page: number; - sortType: string; + order: string; year: string; }