refactor: update location display order to state-first and fix minor typos in auth pages
This commit is contained in:
@@ -157,9 +157,9 @@ function ProfileCard({ profile, resolvedAvatarUrl }: ProfileCardProps) {
|
||||
stateValue = profile.state;
|
||||
}
|
||||
|
||||
// Build location string
|
||||
// Build location string (state first, then city)
|
||||
if (cityValue && stateValue) {
|
||||
return `${cityValue}, ${stateValue}`;
|
||||
return `${stateValue}, ${cityValue}`;
|
||||
}
|
||||
if (cityValue && profile.country) {
|
||||
return `${cityValue}, ${profile.country}`;
|
||||
|
||||
Reference in New Issue
Block a user