@@ -8,9 +8,10 @@ import { useGetApplicationsList } from "@/apis/applications";
88import ConfirmCancelModal from "@/components/modal/ConfirmCancelModal" ;
99import { DEFAULT_MAX_CHOICE_COUNT , getHomeUniversityById , REGIONS_KO } from "@/constants/university" ;
1010import useAuthStore from "@/lib/zustand/useAuthStore" ;
11+ import { IconExpandMoreFilled } from "@/public/svgs/community" ;
1112import type { Applicant , ScoreSheet as ScoreSheetType } from "@/types/application" ;
1213import type { RegionKo } from "@/types/university" ;
13- import { getApplicationDetailHref , MobileScoreSheet } from "./ScoreSheet" ;
14+ import { getApplicationDetailHref , MobileScoreSheet , ScoreSheetLogo } from "./ScoreSheet" ;
1415
1516type ApplicantScope = "all" | "withApplicants" ;
1617type ScoreSort = "applicants" | "gpa" ;
@@ -160,7 +161,7 @@ const AppliedUniversitySection = ({
160161} ) => (
161162 < section className = "mt-5" >
162163 < div className = "flex items-center justify-between gap-3" >
163- < h1 className = "text-k-900 typo-bold-4" > 지원한 대학({ appliedUniversities . length } )</ h1 >
164+ < h1 className = "text-k-900 typo-bold-4" > 지원한 대학 ({ appliedUniversities . length } 개 )</ h1 >
164165 < button
165166 type = "button"
166167 onClick = { onChangeUniversities }
@@ -198,12 +199,12 @@ const AppliedUniversityRow = ({ preference, scoreSheet }: AppliedUniversity) =>
198199 href = { getApplicationDetailHref ( scoreSheet . koreanName ) }
199200 className = "flex h-11 items-center gap-2.5 rounded-lg border border-k-50 bg-white px-3.5 shadow-[0_0_10px_rgba(0,0,0,0.05)]"
200201 >
201- < span className = "size-5 shrink-0 rounded-full bg-k-50" aria-hidden />
202+ < ScoreSheetLogo scoreSheet = { scoreSheet } className = "size-5" />
202203 < span className = "min-w-0 flex-1 truncate text-k-900 typo-sb-7" >
203204 { scoreSheet . koreanName } ({ preference } /{ capacity } )
204205 </ span >
205- < span className = "text-k-500 " aria-hidden >
206- ˅
206+ < span className = "flex size-6 shrink-0 items-center justify-center text-k-600 " aria-hidden >
207+ < IconExpandMoreFilled />
207208 </ span >
208209 </ Link >
209210 ) ;
@@ -342,7 +343,15 @@ const uniqueScoreSheets = (scoreSheets: ScoreSheetType[]) => {
342343 const prev = scoreSheetMap . get ( key ) ;
343344 scoreSheetMap . set (
344345 key ,
345- prev ? { ...prev , applicants : mergeApplicants ( prev . applicants , scoreSheet . applicants ) } : scoreSheet ,
346+ prev
347+ ? {
348+ ...prev ,
349+ englishName : prev . englishName ?? scoreSheet . englishName ,
350+ logoImageUrl : prev . logoImageUrl ?? scoreSheet . logoImageUrl ,
351+ backgroundImageUrl : prev . backgroundImageUrl ?? scoreSheet . backgroundImageUrl ,
352+ applicants : mergeApplicants ( prev . applicants , scoreSheet . applicants ) ,
353+ }
354+ : scoreSheet ,
346355 ) ;
347356 }
348357
0 commit comments