From a9384f969d3d363991ea1a38e780204ae0a20256 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 30 Dec 2024 19:27:38 +0000 Subject: [PATCH] Remove PronounSet.summary fallback --- web/src/ui/rightpanel/UserExtendedProfile.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/src/ui/rightpanel/UserExtendedProfile.tsx b/web/src/ui/rightpanel/UserExtendedProfile.tsx index 4c16b55..54bbd9d 100644 --- a/web/src/ui/rightpanel/UserExtendedProfile.tsx +++ b/web/src/ui/rightpanel/UserExtendedProfile.tsx @@ -95,9 +95,7 @@ export default function UserExtendedProfile({ profile, client, userID }: Extende {pronouns.length >= 1 && <>
Pronouns:
- {pronouns.map((pronounSet: PronounSet) => ( - pronounSet.summary || `${pronounSet.subject}/${pronounSet.object}` - )).join("/")} + {pronouns.map((pronounSet: PronounSet) => (pronounSet.summary)).join("/")}
}