File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/app/map/house-memo/[id] Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -97,13 +97,18 @@ export default function Page() {
9797
9898 < div className = "flex flex-col gap-2" >
9999 < Title2xl className = "text-xl font-bold" > { houseMemo . propertyName } </ Title2xl >
100- { houseMemo . depositBig && (
100+ { houseMemo . depositSmall && (
101101 < div className = "flex items-center gap-2" >
102102 < TitleXl className = "text-primary-50" >
103- { getContractLabel ( houseMemo . contractType ) } { houseMemo . depositBig } 억{ ' ' }
103+ { getContractLabel ( houseMemo . contractType ) } { ' ' }
104+ { houseMemo . depositBig !== 0 && `${ houseMemo . depositBig } 억 ` }
104105 { houseMemo . depositSmall } 만원
105106 </ TitleXl >
106- < BodyS className = "text-neutral-60" > (보증금/월세)</ BodyS >
107+ < BodyS className = "text-neutral-60" >
108+ { houseMemo . contractType === 'MONTHLY_RENT' && '(보증금/월세)' }
109+ { houseMemo . contractType === 'JEONSE' && '(전세가)' }
110+ { houseMemo . contractType === 'PURCHASE' && '(매매가)' }
111+ </ BodyS >
107112 </ div >
108113 ) }
109114
You can’t perform that action at this time.
0 commit comments