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