refactor: update location display order to state-first and fix minor typos in auth pages
This commit is contained in:
@@ -353,8 +353,8 @@ export default function AgentProfileView() {
|
||||
isVerified={agentProfile.isVerified}
|
||||
title={agentProfile.agentType?.name || 'Real Estate Agent'}
|
||||
location={profileCardData.city && profileCardData.state
|
||||
? `${profileCardData.city}, ${profileCardData.state}`
|
||||
: profileCardData.city || profileCardData.state || agentProfile.serviceAreas?.[0] || '-'}
|
||||
? `${profileCardData.state}, ${profileCardData.city}`
|
||||
: profileCardData.state || profileCardData.city || agentProfile.serviceAreas?.[0] || '-'}
|
||||
memberSince={formatMemberSince((agentProfile as unknown as { createdAt?: string }).createdAt)}
|
||||
bio={profileCardData.bio || agentProfile.bio || ''}
|
||||
expertise={profileCardData.expertise.length > 0 ? profileCardData.expertise : (agentProfile.specializations || [])}
|
||||
|
||||
Reference in New Issue
Block a user