diff --git a/src/Apis/Applications/index.ts b/src/Apis/Applications/index.ts index 162825e..7c9ebcf 100644 --- a/src/Apis/Applications/index.ts +++ b/src/Apis/Applications/index.ts @@ -13,14 +13,12 @@ export const useGetApplicantInfo = ( queryKey: ['getApplicantInfo', applicationQueryString], queryFn: async () => { const { - page, application_status, student_name, recruitment_id, year, winter_intern, } = applicationQueryString; - const pageNum = page ? `&page=${page}` : ''; const studentName = student_name ? `&student_name=${student_name}` : ''; @@ -28,10 +26,10 @@ export const useGetApplicantInfo = ( ? `&recruitment_id=${recruitment_id}` : ''; const queryString = - application_status || student_name || recruitment_id || page + application_status || student_name || recruitment_id ? `&application_status=${ application_status ? application_status : '' - }${companyId}${studentName}${pageNum}` + }${companyId}${studentName}` : ''; const { data } = await instance.get( `${router}?year=${year}${queryString}&winter_intern=${winter_intern}` diff --git a/src/Components/PopUp/RecruitmentPopup/StudentTable/style.tsx b/src/Components/PopUp/RecruitmentPopup/StudentTable/style.tsx index 4bea3a6..fdb0ada 100644 --- a/src/Components/PopUp/RecruitmentPopup/StudentTable/style.tsx +++ b/src/Components/PopUp/RecruitmentPopup/StudentTable/style.tsx @@ -12,7 +12,7 @@ export const Container = styled.div` export const TableWrapper = styled.div<{ isRequest: boolean }>` width: 93.5%; - height: ${({ isRequest }) => (isRequest ? '320px' : '365px')}; + min-height: ${({ isRequest }) => (isRequest ? '320px' : '365px')}; display: flex; flex-direction: column; justify-content: flex-end;