Skip to content

Commit

Permalink
Ensure pronouns display without spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarim Faraz authored and Sarim Faraz committed Dec 9, 2024
1 parent 082d52f commit 8c232dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/web/features/profile/view/userLabels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const AgeAndGenderRenderer = ({ user }: Props) => {
<span>/&nbsp;</span>
<span>{gender}</span>
{getGenderVerificationIcon(genderVerificationStatus)}
{pronouns && <span>({pronouns})</span>}
{pronouns && <span>({pronouns.replace(/\s+/g, "")})</span>}
</div>
);
};
Expand Down

0 comments on commit 8c232dc

Please sign in to comment.